asp.net-mvc-5 Questions

2

Solved

Referring to the question i want to move my y-axis scrollbar with mouse wheel Is there any way to do it ? yAxis: { scrollbar: { enabled: true, showFull: false }, } Updated Code Bellow ...
Wool asked 19/9, 2016 at 10:10

10

Solved

After trying to enable owin & AspNet Identity to my Web Api project (in VS 2013 + .Net 4.5.1) I get the following error in each valid or unvalid(request to none exist controller) requests : &l...
Hahnke asked 13/1, 2014 at 10:38

4

I know this question has already been asked but I couldn't find an answer that satisfied me. What I am trying to do is to retrieve a particular DbSet<T> based on its type's name. I have the ...
Rathe asked 26/11, 2015 at 13:56

2

What is default expiration timespan of GenerateEmailConfirmationTokenAsync? and what kind of errors should I get from ConfirmEmailAsync? For ConfirmEmailAsync got Invalid token error. is there any...
Hexad asked 7/3, 2018 at 11:14

12

The project was running fine until I updated all NuGet packages via NuGet Manager (I was trying to get the latest OWIN packages). This error is in the _Layout.cshtml and I have not touched it at al...
Naarah asked 13/5, 2015 at 15:53

4

Solved

I have CreatedAt and UpdatedAt columns in my User model. User.cs public string Name { get; set; } public DateTime? CreatedAt { get; set; } public DateTime? UpdatedAt { get; set; } Requirement ...
Rottenstone asked 1/8, 2017 at 5:38

30

Solved

I have the following errors (and more) in all my views (*.cshtml) when opening my project in Visual Studio 2015 Professional. Error CS0246 The type or namespace name 'System' could not be found ...
Canonize asked 21/10, 2015 at 10:26

8

Solved

I have this line of code: @Html.EditorFor(model => model.Quantity, new { htmlAttributes = new { @class = "form-control", @readonly = "readonly" } }) I have a variable in my view data dictiona...
Amersham asked 19/3, 2015 at 19:24

6

Solved

I have an MVC view with a number of buttons on it (each item in a basket renders 2 buttons)... <button class="pbbg" id="ProductMinus_161637" type="button">-</button> <button class="...
Chiquita asked 27/5, 2015 at 10:12

7

Solved

I'm trying to learn Claims for MVC 5 OWIN login. I try'ed to keep it as simple as possible. I started with the MVC template and inserted my claims code (see below). I get an error when I use the @H...

3

How do I invalidate a session? Repro: Login using a normal account Export cookies associated with my site Click the logout button Confirm that I'm logged out of the site, the cookie is cleared Im...
Gilchrist asked 2/3, 2014 at 4:50

7

Solved

For some reason I am yet to discover, but after a successful registration and activation, I cannot login with the email address, instead I get an error "Invalid login attempt". As ASP.NET Identity...
Misesteem asked 12/5, 2014 at 16:23

22

Solved

First of all, I have not seen this error anywhere else and I guess it's not a replicate so please read the whole situation first. Everything was working just fine then I tried to update one of my ...
Externalism asked 14/3, 2014 at 15:1

26

Solved

I have a mvc 5 project with a angular frontend . I wanted to add routing as described in this tutorial https://angular.io/guide/router. So in my _Layout.cshtml I added a <base href="/"> a...
Bridget asked 13/6, 2017 at 9:39

8

Solved

How to obtain a list of all users in a role? Before it was possible with Roles.GetUsersInRole, but with new Identity I can't find anything like this.
Legibility asked 21/10, 2013 at 9:13

4

Solved

I have a MVC application and I am trying to send an email using Hangfire and Postal. The email must be sent after a registration. The registration works properly, but the job I run remain enqueued...
Hennessy asked 16/9, 2016 at 12:4

12

Solved

I have a ASP .NET MVC5 application in which I am not using Windows Authentication. Everything was working fine until I tried running the application outside of the Domain in which it was being dev...
Manfred asked 31/3, 2014 at 15:24

3

Solved

I have a user object with these attributes. id (key), name and email And I am trying to make sure these attributes are unique in the DB. How do I prevent a put/create/save operation from succeed...

9

Solved

Other articles on here haven't been able to solve my issue. The following errors are being thrown when I run my ASP.NET MVC5 Web Project. Anyone got an idea where I am going wrong? Could not load f...
Rooke asked 31/1, 2018 at 15:18

9

Solved

What steps must be done to implement basic authentication in ASP.NET MVC 5? I have read that OWIN does not support cookieless authentication, so is basic authentication generally possible? Do I n...
Holmic asked 22/11, 2013 at 11:56

26

I have tried all the solution like repairing the VS 2013 but no use. when you create a controller by right clicking on the Controller folder and you add the controller, then you right click in th...
Flattery asked 24/8, 2016 at 15:16

7

Solved

I'm getting this error in Visual Studio: Error CS7003 Unexpected use of an unbound generic name MyProject C:\Users[myname]\documents\visual studio 2015\Projects....\Index.cshtml 1 The offend...
Jonquil asked 24/12, 2015 at 17:40

2

Solved

I have a problem I can not understand in asp.net identity apply the following steps create two empty web projects, they have names : WebApplication1 WebApplication2 install package "Microsoft ...

11

Solved

I'm using VS 2013 RTM Ultimate, and when I try to add a Controller to my MVC 5 project I get the following error: "There was an error running the selected code generator: 'The Parameter searchFold...
Convergent asked 28/10, 2013 at 3:43

24

Solved

I'm using Asp.Net-Identity-2 and I'm trying to verify email verification code using the below method. But I am getting an "Invalid Token" error message. My Application's User Manager is like thi...
Drawer asked 20/8, 2014 at 12:55

© 2022 - 2025 — McMap. All rights reserved.