SignalR – Sending a message to a specific user using (IUserIdProvider) *NEW 2.0.0*
In the latest version of Asp.Net SignalR, was added a new way of sending a message to a specific user, using the interface “IUserIdProvider”.
In the latest version of Asp.Net SignalR, was added a new way of sending a message to a specific user, using the interface “IUserIdProvider”.
I am upgrading a site to use MVC and I am looking for the best way to set up Authentication.
So I used this tutorial to generate my poco classes which I am to use throughout my aplication.. the problem is that Im not supposed to modify the generated cs files cause they get autoregenerated… How do I add attributes like [Required] and stuff like that?? please help
I was planning to use url routing for a Web Forms application. But, after reading some posts, I am not sure if it is an easy approach.
I am developing an MVC 5 web application using Entity Framework 5 Database First approach. I am using OWIN for the authentication of Users. Below shows my Login method within my Account Controller.
I’d like to have JSON ‘properly’ serialized (camelCase), and the ability to change date formats if necessary.
I am new to MVC and I am trying to create my own extension method so that I can add onto the html helpers that are available in my razor views. Html.DropDownListFor() lets you create a drop down list for any propery on your model. I would like to create a helper called Html.StateDropDownListFor() that does the exact same thing, except loads the drop down with all 50 US states. This way I don’t have to create a SelectList for every single state drop down that I create. What is the easiest way to do this? Right now I have this:
I’m working on a MVC 5 project, very new to MVC. I noticed this line in the code:
How do you declare global variables in ASP.NET MVC?
How can I quickly determine what the root URL is for my ASP.NET MVC application? I.e., if IIS is set to serve my application at http://example.com/foo/bar, then I’d like to be able to get that URL in a reliable way that doesn’t involve getting the current URL from the request and chopping it up in some fragile way that breaks if I re-route my action.