Quantcast
Channel: ASP.NET Core
Browsing all 9386 articles
Browse latest View live

Failed to open up Azure web app

I'm building MVC Core app using Visual Studio Code on Mac OS. I created MVC app using yeo generator working with database EF core, everything works fine on localhost. I put correct connection string...

View Article


I follow the link https://www.asp.net/get-started but stuck when enable...

Sir,While following the tutorial at Developer Command Prompt after enabling the support for static file my application does not build successfully .When I add the code line "app.UseStaticFiles();" then...

View Article


Deployed asp.net core web site 404's on some pages which work locally

I have deployed to a IIS server and if I try to browse to a page that requires authorization then it redirects to the login page which is fine. However on POSTing the login page after filling in...

View Article

Error installing .NET Core SDK

I have an Error when trying to install Net Core.Hi,I already have Microsoft Visual C++ 2015 x64 (vc_redist.x64.exe) installed but when I try install .NET Core SDK 1.0.3 (dotnet-dev-win-x64.1.0.3.exe)...

View Article

How to: Add easy Azure MS SQL based Localization to VS 2017 Asp Net Core Web...

Hi, How can I easily add a Azure MSSQL Server based localization to my VS2017 Asp Net Core WebApp? I want to add localized strings to Dataannotions, too. Thanks ERIC

View Article


Problem Complex Model

Already this week, I understand. Nothing happens. Configure authentication, it is impossible to make a comprehensive model.External Key (ForeignKey) added MySQL and the class is not initialized.What is...

View Article

Edit Blog

Hi. I am new to MVC Core. I have been attempting to get an edit blog working.The code is at - https://github.com/DotNetDS/CoreMVC_Project.gitIn the blog controller I have two edit methods.I have...

View Article

Connecting to SQL using Domain IDs

I'm new to .NET Core (and .NET in general), and am struggling a bit with getting my web application to connect to an existing SQL server.I've got rights to my SQL database, and I can get my web...

View Article


Edit Blog, moving on or tryig to.

Hi. I am new to MVC Core.  I have been attempting to get an edit blog working. The code is at - https://github.com/DotNetDS/CoreMVC10052017a.gitIf I type in http://localhost:50260/blog/edit/1,2,3 etc....

View Article


Authorizing each controller/action

I'm putting together an intranet site for our company.  The administration wants complete control over everything. Basically, they want the ability to create "policy groups" at whim, and for each...

View Article

Updating database in .net core app after deploy

Hi everyone. I have some problems with updating postgresql database after deploying my .net core application. I deploying application to server throught octopus server and I have no idea how update my...

View Article

Where do I find ServerVariables("REMOTE_USER")?

I used Request.ServerVariables("REMOTE_USER") in classic ASP to get the id of the logged in user.  I can't figure out where to get the information in ASP.NET Core.  I've reviewed the HttpRequest class...

View Article

Access HttpContext from class/model level validation method

So just to give some background I have changed my web application so it doesn't depend on accessing HttpContext.Current from class libraries, instead the entity framework context is passed around the...

View Article


ASP.Net Core CRUD Operation

Hi All,I wanna build multi layer application by using ASP.Net core(only windows only) and Entity Framework Core, perhaps am bit struck-up while accessing layered object.Layer:Business: Class library...

View Article

New to .Net Core - Web App - http client - apiclient

Hello,I work in a big team and they want me to develop an extranet website and give access to couple tables from the SQL server... And make sure the rest is fully restricted...They don't want to...

View Article


Recent annoucement dot net core 2.0

Apologies if I get this wrong but thought I read that we won't be able to do dot Net core with framework 4.6.1 with the next release.I use dot net core with framework 4.6.1 to do my rest webapi...

View Article

:( Oops. 500 Internal Server Error - An error occurred while starting the...

I have created .net core web api application. When I start my .net core application I'm getting ":( Oops. 500 Internal Server Error - An error occurred while starting the application." error on the web...

View Article


Child Window on a page in Core

Hi, I need to learn how to incorporate a child window with scroll bars on an existing page in ASP Core. Suppose I have need to show some transactions of an account on the. Details view of an Account....

View Article

Unable to resolve service for type ... while attempting to activate controller

Hello ,  I just started learning ASP.NET Core , and I had this type of exception , and now im seeking for your help !-Exception : http://prntscr.com/f6dm3z-"CatalogueDBContext" :...

View Article

Actually get Edit function to work

Hi,the code at - https://github.com/DotNetDS/CoreMVC11052017.gitlets you get to the blog edit page localhost/blog/edit/1, the body content can be changed.However when the edit button is pressed the...

View Article
Browsing all 9386 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>