vs code 1.0 create project
I have a asp .net core 1.0 RC1 web app . which contains a web project and some some class liabray project. I try update it to asp .net core 1.0 RC2.How do it by vs code?
View ArticleFixing an ambiguous refrerence
Hi, OverviewTo learn ASP.NET Core I decided to come up with a sample learning project for managing 'Tasks'. The name of my project is 'AspNetCore1Lab' mentioned in the error below. I created my db...
View Articleconnect my ASP.NET web application's entity framework database to sql server
Hi guys, I am new to asp.net mvc.I'm following this documentation and trying to do some learning.https://docs.asp.net/en/latest/tutorials/your-first-aspnet-application.htmlI found that the tutorial...
View ArticleDatabase schema can not be updated
Hi,I am in tutorial "Building your first MVC 6 application" section "Adding Validation": https://docs.asp.net/en/latest/tutorials/first-mvc-app/validation.htmlhere is the problem, when I randnx ef...
View Articleaspx engine is better than razor engine for minor enterprises
webform is old and we just drop it,but aspx engine is very important.1.The simple design the best design for template engine,aspx engine just use <%%> and <%=%>.2.What You See Is What You...
View ArticleTalk about add commit prompt to typescript and json
when i write typescript or javascript i want to add commit to that function for example //<summery>compute two numbers</summery> //<param name="a">number a</param> //<param...
View ArticleClass Library Package for Onion Architecture in .NET Core - version issues
I am trying to create an Onion Architecture project for ASP.NET Core. I am running into some issues with Referencing class libraries and other errors that show up only during Build. From the image...
View ArticleConsume Web API from .NET Console application
In the old .NET version, we can consume Web Api fromHttpClient client = new HttpClient(); client.BaseAddress = new Uri("http://localhost:30151/"); client.DefaultRequestHeaders.Accept.Add(new...
View ArticleWhere is Controller Initialize Event?
I apologize in advance if this question seems vague.Trying to port an existing application to ASP.net 5. I have a custom authentication and authorization logic that verifies and validates the user...
View ArticleASP.NET MVC 6 / ASP.NET 5 pagination for list items
Hi guys.I'm showing hundreds of list items in a asp.net 5 page.I need to pagination the page so that it won't be too complicated to read.But I didn't find an appropriate way.Please help....
View Article[ASP.NET 5 / MVC 6] How to make a search box and receive input value in...
Hi guys, I am building a page to show some list content.And I want to make a search box for users to input keywords to filter the lists.So I made a search box like this<form...
View ArticleGlobal config files in asp.net Core - best practice
My application has 9 projects/APIs running in parallel.Today I have separate config.json files in each project. They are almost the same, all of them.I want to use a global config.json file. As I see...
View ArticleAdding references to .NET Core projects
Hi. Below is a copy of the question I initially posted on MSDN and, as suggested there, asking here.Can anyone explain "reference adding strategy" for .NET Core projects?Here is what I'm trying to do...
View Articleget model item by index in html
hi,can i get model item by index or by id??ORhow can i get first five items only in the model?thanks,
View ArticleASP NET 5 IIS7 intermittent server issue.
Hi! I have two web sites (UI and API) developed using ASP.NET 5 (vNext) (Beta 6 framework libraries) and hosted in IIS7.I get an intermittent error when I try to connect to the API from the UI website....
View ArticleUnable to debug ASP.NET 5 MVC 6 on Azure website
I have developed an ASP.NET 5 MVC 6 application and uploaded it to Azure. However, there is an issue and I need to debug the website. I have googled and binged and tried all the options provided....
View Articlednx How to add subdomain to project?
Hello guys, is there any way how to manage domain names/subdomains on my localhost machine (OS X), I want to add a subdomain to my project, and I don't see any relevant documentation upon this topic so...
View ArticleHow to bind three table for a display table in Asp.Net Mvc 6
I want to use aspnetuserroles, aspnetusers and aspnetroles to display a new view model, in sql query as follows:SELECT [dbo].[AspNetUserRoles].[UserId], [dbo].[AspNetUserRoles].[RoleId],...
View ArticleDownloading a set of XML files
Hi,I`d like to add to my page (MVC6) a part where server generate several XML files (based on database), compress them to zip and allow me to download this archive. I found how to generate XML files...
View Article