Why MVC?Roslyn can remove all the models.Just use VC.
I want talk about the MVC.this is the aspnet mvc default action; public IActionResult About() { ViewData["Message"] = "Your application description page."; return View(); }We need ViewData to contain...
View ArticleHow to use htmlhelper to create Div contains 'Label' and...
1. Need to get the selected items by http uri, e.g. using ajax in view2. The model key field already has attribute [DataType("DropDownList")] from System.ComponentModel.DataAnnotations3. Need to...
View ArticleMaybe Orm is just one database management develop direction.
Ervery body knows that roslyn is open source.We can write csharp code like template.It called magic sugar.I want something like this:var con=Models.DatabaseName.OpenConnection(); var...
View ArticleAsp.net core Restore Error
Hi Folks,http://dotnet.github.io/getting-started/I am getting error message when i run the command line "dotnet restore". It says:"error: Object reference not set to an instance of an object"How to fix...
View ArticleCompiling .NET Core from Source
Hi,I just finished a large .NET application with ASP.NET MVC frontend, and I am ready to dive into.NET Core.I started watching Scott Hanselman’s ASP.NET Community video conferences on Youtube, and I...
View Article403.14 no default document after deploying ASP.NET Core Site
I created a simple single controller, single page with a single h1 on it. I ran it fine in VS locally. Followed the exact steps herehttps://docs.asp.net/en/latest/publishing/iis.html and I get a 403.14...
View ArticleServe mutiple sites from iis wwwroot
I was wondering if anyone knew if there is a way to configure iis to serve an ASP.NET Core site from a folder inside the iis wwwroot folder...
View ArticleConnecting my Visual studio MVC 6 database project to my database in Azure
Hi there,I have searched for this and thus far have found precious little on how I get my MVC 6 project with EF7 that I created with VS 2015 and connected to localdb/MSSQLLocalDB to be published on...
View ArticleHosting asp.net on linux
I am trying to host asp.net on Linux machine.I updated mono framework..nginx..When I " DNU restore "it ...I am getting the following error""unable to locate dependency kestrel >=...
View ArticleHow to Create Roles in ASP.net 5
I am bit confused how can I create my custom roles in ASP.net 5. I am searching on it since very long but failed. Please help me out.Thanks in advance
View ArticleMicrosoft Icon from social bootstrap are working in Asp.Net 5 Mvc 6
I think that the control of the Microsoft.AspNet.Mvc.TagHelpers does not have the @helper in order to GetFontClass to retrieve a windows icon into the Microsoft bootstrap, for example:<div...
View ArticleExclude *.cs files while publish from VS
Hi,I published MVC6 (dnx46) project, it pushed all the published files to 'artifacts\bin\MyProject\Release\PublishOutput'. I found it's publishing *.cs files also inside 'approot\src\...' folders. How...
View ArticleMVC 6 model binding issue with dynamically generated form elements by JQuery
Hi I am creating a Cascading DropDown using MVC6 rc 1, JQuery, Ajax, JSON, the code is as below, but I got a issue with retrieving selected data from the the sub dropdown list 'Site' populated by...
View ArticlePublish simple webapp fails and Error not found on the internet
Here is the output: 1>------ Build started: Project: GpsTracking, Configuration: Release Any CPU ------ 1> 1> Build succeeded. 1> 0 Warning(s). 1> 0 Error(s). 1> 1> Time elapsed...
View Article.NET Core strategy is good, but the implementation is totally wrong
HI asp.net team,I looked at the Web Application from ASP.NET 5 Templates and watched some videos about .NET Core and honestly I am disappointed. I think that your implementation of ASP for...
View ArticleExtracting localizable strings from MVC 6 project
After I made a gettext implementation for the localization factory and such, I found myself having trouble keeping track of all the localizable strings and if someone changed one, needed to keep in...
View ArticleIs it good to start the development in RC1
Is it good to start the development in RC1 or there may be significant breaking changes in upcoming version?
View ArticleOne of the core design tenets of ASP.NET MVC is DRY Don’t Repeat Yoursel
Well, I wounder of these guys ever heard of KISS ?
View ArticleHow to refer the angular 2 components in the Asp.Net5 MVC views/partial
I have a created a project with default Asp.net 5 - webapplication template. I added a Scripts folder under project and also added 2 typescripts file along with tsconfig file. I have configured the...
View ArticleAsp.net core 1.0 Release
Hey folks,when is the visual studio 2015 asp.net and web tool for rc2 will be released? Will it release tomorrow? Thanks in advance
View Article