asp.net core and entity Framework Core with .net core 2
Hi,I am currently working on a solution that uses asp.net core (.net 4.6.1) which references entity framework core. After the announcement of microsoft that it will drop support for .net core 1.x on...
View ArticleWhat minimum is required to run asp.net.core web application on a simple...
SirI want to deploy an asp.net.core web application on some system where nothing is installed like visual studio etc .What minimum is required to run asp.net.core web application on a simple windows 7...
View ArticleSystem.MissingMethodException occurred
Hi All,I got below exception now, am not sure which missed over my code, it has been working good before.System.MissingMethodException occurred HResult=0x80131513 Message=Method not found:...
View ArticleHow to populate inputs in "edit" view with object data?
I am quite new to ASP .Net, and could use some help... I have an ASP .Net Core 1.1 MVC web app. In it, I have an "Edit" view for editing a simple object, which is bound to a model, which a...
View ArticleSystem.Diagnostics.DiagnosticSource Exception
Hi All,I got below exception in ASP.Net core.Layer:Business => Data, CommonWeb=> BusinessSystem.IO.FileLoadException occurred HResult=0x80131040 Message=Could not load file or assembly...
View ArticleHow can I create my own Scaffolding on Visual Studio 2017?
Hello everyone, I'm starting using ASP.NET Core and I come from Node.js world. I'm following this beginners guide using Visual Studio Community 2017, it's a fantastic tool, but when I started using the...
View ArticleHowto? Visual Studio Windows + .net core web app + Ubuntu 16.04-arm server.
I am wondering whether it is possible to deploy a .net core web app developed in Visual Studio, to Raspberry Pi, and if so , how ?I am using VS2017 Community edition on Windows 10. I have created a new...
View ArticleModels repeated for both web app and web API?
I am busy creating an ASP .Net MVC 1.1 Web App. This will server as the front end. I am also creating an ASP .Net MVC 1.1 Web API. This will server as the back end to the web app, as well as to a phone...
View ArticleDebug not working in VS2015
App being debugged in Visual Studio 2015 is not stopping at breakpoints, even though the code where those breakpoints are defined is definitely being executed. Debug was working 2 days ago (Wed 10 Apr...
View ArticleHow to Publish an ASP.NET Core website in linux host
hi plz help meGetting help me about publish an asp.net core website in linux centos host or others1.publishing in linux is by which contorol panel? 2.by which Service Providers?3.sql server has to...
View ArticleHow to use Crystal report in AspNetCore.Mvc.
Hi Team, I have converted existing Erp Application from Ap.net MVC to AspNetCore.Mvc. I want to integrate crystal report to new application. I have added the reference of...
View ArticleMultiple Submit Buttons
Not sure where I am going wrong. I have a wizard type form. On the form I have a next and back button. So far I have the next button working which is fine as this is intentional at this stage. On...
View ArticleSession managment , .net core webapi
I am working with enterprice application with .net core web.api + angular2. Around 1,00,000 users will use this app one it is on production.Some api is expose to another client ( Window base...
View ArticleContoso - Sort a Table on Details Page
Hi,While following the learning package at https://docs.microsoft.com/en-us/aspnet/core/data/ef-mvc/crud, I want to know what changes to be made in the following code so as to have the Course Details...
View ArticleRedirectToAction or Redirect?
I'm wondering what is the most effective way of returning from an editpost method to the Edit view?So after updating a post I can either do thisreturn RedirectToAction("Edit", new { ID = id });or...
View ArticleReferencing multiple models in ViewModel from View
I have an ASP .Net Core 1.1 MVC web app. The app will be used by real estate agents to manage properties. The web app gets all it's data from a Web API. The web app has a page where a user can edit an...
View ArticleCan you point directly to the site with IP_public:port ?
Hello to everyone, I created a site that can be reached at "http://virtual_server_name:port", having to write the pair "IP virtual_server_name" in "C:\Windows\System32\drivers\etc\hosts". Is it...
View ArticleGetting selected option of SELECT from View back to Controller
I have an ASP .Net Core 1.1 MVC web app. The app talks to a web API backend to read/write data to the data store.In the web app, I have an Edit page, where you can edit a record of a particular object....
View ArticleThere was an error running the selected code generator
Trying to do a controller scaffolding in a ASP.NET Core solution and I get the following error:--------------------------- Microsoft Visual Studio --------------------------- ErrorThere was an error...
View ArticleUsing a Cookie in a Model
I would like to make a function in a model to access a cookie. The reason I want to do this, is so I can easily call this function from throughout the site to get this piece of information (such as a...
View Article