I am trying to create a strongly typed view model, John Sheehan suggested here. Where should it go? I can defend myself for models, views and controllers. It should be placed in the “Models” dir
Tag: MVC
ASP.NET-MVC – Linq Groupby in strong type MVC view
How to get IGrouping results to map to views?
I have this question:
var groupedManuals = manuals.GroupBy(c => c.Series);
return View (groupedManuals); What is the correct mapping of the
ASP.NET-CORE-MVC – Error running Crud Scaffolding for DotNET Core ASP.NET
So I’m attacking .net core and launched a new asp.net core application. I created a .net core class library and included a reference to the Entity Framework core . I created a context and I tried t
Any jQuery time plug-in that can be used to select time on the ASP.NET MVC page?
I have an ASP.NET page, the user needs to select TimeSlot on this page, such as 10am Pacific Standard Time, 10:15am Pacific Standard Time… etc., interval 15 minutes (flexible).
Using JQuery
ASP.NET-MVC-2 – ASP.NET MVC 2 Display Name DataAnnotion from Resource Can’t work properly
I am trying to use resource files to save the label text of the model in an MVC 2 project.
I have the following courses…
public class Person
{
[Display(ResourceType = typeof(Resource
QueryString splicing update in ASP.NET MVC
Background
public static string ToQueryString(NameValueCollection nvc)
{
StringBuilder sb = new StringBuilder();
foreach(var key in nvc.AllKeys)
{
string value = nvc[key];
//Escap
ASP.NET-MVC – IdentityServer MVC token expire
I am new to Identity Server, and I am missing a key concept in my understanding.
I am using the code from the MVC tutorial.
If I Use the attribute [Authorize] to decorate my Home controller
ASP.NET-MVC – ASP.NET MVC for service TXT is truncated
I am trying to provide a txt file created by the database using actions. The actions are as follows:
public ActionResult ATxt()< br />{
var articulos = _articulosService.ObteTotsArticles();
ASP.NET-MVC – How do I debate ASP.NET MVC Controller after passing controls to View?
About every 20 pages are loaded, there will be faults in my view. I want to know the value of the variables contained in the Controller before calling View. However, once View is called, I will Los
ASP.NET-MVC – ASP.NET MVC 2 – Redirect errors from ActionFilter?
What has changed from mvc1 and mvc2? If the user is not authenticated, I have the following code to redirect to the login page. This does not apply to mvc2 and results in “System.Web.HttpException: