9520 0
Upload file to Google Drive using Service Account in C# MVC (With Impersonation)
In this article, I have explained how we can upload file to google drive using service account, using domain wide delegation and impersonation in ASP.NET MVC.
Type
Article
9391 0
Basic tutorial of ASP.NET MVC C#
This tutorial has basic details of asp.net MVC for beginners using Visual Studio. It explains what is Model, View, Controller and how to get started.
Type
Article
9308 2
9268 3
A potentially dangerous request.form value was detected from the client Error in MVC C#

I was following the article of adding rich text editor as explained here (How to use Rich text editor (CKEditor) in MVC), but when I am submitting CKEditor data to the controller, I am getting this error 

A potentially dangerous Request.Form value was detected from the client

...

Type
Question
9266 0
Form Submit in ASP.NET Core MVC using Tag Helpers
In this article, I have explained how to submit form in ASP.NET Core MVC using tag helpers and get data in controller to save it in database.
Type
Article

9199 1
How I connect chart.js to database in ASP.NET web form mvc in visual studio 2015 ?

 I have make a chart.js in my website to display chart showing demand of a fruit over date range using this script below :

 

<div class="chart-wrapper" style="height:200px;margin-top:40px;">
    <canvas id="main-chart" class="chart" height="100"></canvas>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.4.0/Chart.min.js">
</script>
<script>
    var ctx = document.getElementById("main-chart").getContext('2d');
    var myChart = new Chart(ctx, {
        type: 'line',
        data: {
            labels: ["M", "T", "W", "T", "F", "S", "S", "M"],
            datasets: [{
                label: 'Traffic',
                data: [0, 50, 100, 150, 200, 250, 300, 350],
                backgroundColor: [
                    'rgba(255, 99, 132, 0.2)',
                    'rgba(54, 162, 235, 0.2)',
                    'rgba(255, 206, 86, 0.2)',
                    'rgba(75, 192, 192, 0.2)',
                    'rgba(153, 102, 255, 0.2)',
                    'rgba(255, 159, 64, 0.2)'
                ],
                borderColor: [
                    'rgba(255,99,132,1)',
                    'rgba(54, 162, 235, 1)',
                    'rgba(255, 206, 86, 1)',
                    'rgba(75, 192, 192, 1)',
                    'rgba(153, 102, 255, 1)',
                    'rgba(255, 159, 64, 1)'
                ],
                borderWidth: 1
            }]
        },
        options: {
            scales: {
                yAxes: [{
                    ticks: {
                        beginAtZero: true
                    }
                }]
            }
        }
    });
</script>

...

Type
Question
9136 2
how to disable "Chrome script debugging in Visual Studio is enabled" in Visual Studio 2017?

How can I disable this debugging(image below), I'm using Visual Studio 2017 Community edition and don't like the new chrome window whenever I click Debug in Visual Studio using Chrome browser

...

Type
Question
9133 1
ViewBag data from controller is not visible in Partial View

I am passing Select List from ViewBag in controller to partial View, like I used to do , but it is not showing SelectList on partial View when code is pushed on server, while it works when running code locally, here is the code

Controller

...
Type
Question
9122 0
Read OR Generate QR Code in ASP.NET Core
In this article, I have provided working example code to read or generate QR Code in ASP.NET Core using ZXing.NET Core Library.
Type
Article
9121 2
No assembly found containing an OwinStartupAttribute. error in asp.net mvc project

Hi, I have just created a project using Visual Studio 2015 & selected MVC template, but When I tried to build the project and executed it in the browser, I got the error as below

The following errors occurred while attempting to load the app.
- No assembly found containing an OwinStartupAttribute.
- No assembly found containing a Startup or [AssemblyName].Startup class.
To disable OWIN startup discovery, add the appSetting owin:AutomaticAppStartup with a value of "false" in your web.config.
To specify the OWIN startup Assembly, Class, or Method, add the appSetting owin:AppStartup with the fully qualified startup class or configuration method name in your web.config.

Here is the Image of the error

...

Type
Question

Page 12 of 31