8964 2
8899 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
8886 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
8805 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
8751 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

8736 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
8711 1
Change Password in ASP.NET MVC identity, without old password?

I was trying to change password in MVC and looked at the link "How to change password in asp.net mvc" but it requires me to add Old password, which I don't want, so if I am admin user of website, I would like to change password in MVC asp.net identity without using old password, how can I achieve that?

...
Type
Question
8626 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
8610 1
Clicking on browser back button after login shows login page again??

How can I maintain the session of the user in ASP.NET MVC? Here is the login case for the user. (Only authenticated users are allowed to login in the system.) But once the user gets logged in and press the back button then the user needs to login again. I want to solve this issue. Can anyone have idea about it?

...
Type
Question
8528 0
Validating Email in ASP.NET using Regularexpressionvalidator
In this article, I have explained how you can validate email address or apply email validation using regularexpressionvalidator email validator in asp.net web forms.
Type
Article

Page 12 of 31