Publish to Linux web server
I'm interested in developing ASP.NET Core web applications and host them on my Linux-based shared web hosting server with Apache httpd. I know the technical details of setting up an http proxy to...
View ArticleServer side rendering. Web API and Angular 4
I've developed an web application built using ASP.NET Core Web API andAngular 4. My module bundler is Web Pack 2.I've seen this approach of Angular Universal server side rendering without tag helper...
View ArticleAngular 2 MVC
Hi folks,I have read many post about Angular 2 in MVC Core 1.1 under .Net Framework 4.7 and I cannot find any solution which works. Do you have anybody sample template like "Hello Angular" which...
View ArticleSecuring an ASP.Net Core MVC Web Application
I'm developing an ASP.Net Core Web Application that has several secret values (account/password, etc...) that I need to secure. I've researched using the Secret Manager, however this seems to require...
View ArticleHow to pre-compile a single aspx file using Roslyn
I'm developing a Visual Studio 2015/2017 extension which need to pre compile a selected .aspx file and emit the output to a target location. The pre-compiled binary will be submitted to an external...
View ArticleDatabase for developing on both Mac & Windows
So, I'd love to be able to work on my ASP.NET Core web app on both my MacBook and Windows PC, and I'm searching for good solutions.I'll probably go for Visual Code and CLI tools, but not quite sure...
View ArticleThe content type text/xml; charset=\"utf-8\" of the response message does not...
I am calling a SOAP WCF Service from a new .Net Core WebApi application and am getting the following error:"The content type text/xml; charset=\"utf-8\" of the response message does not match the...
View ArticleRetrieve Access Token
During authentication using external Oauth Provider, the Access Token is saved into AspNetUserTokens table.How can I retrieve it after login ?
View Articlehow to get remote port from HttpContext in Asp.Net core
in asp.net I can get remote port from HttpContext.Request.ServerVariables["REMOTE_PORT"].but Request.ServerVariables was disappeared from Asp.Net core.how to get remote port ??
View ArticleRepository and Dependency Injection Error
Hi,I have this Repository and Dependency implementation to be injected to my controller but I'm getting this error..."Unable to resolve service for type 'WebsiteName.ApplicationContext' while...
View ArticleUpdating the appsettings.json from a .Net Core controller
I'm trying to update the appsettings.json from a configuration controller and can't seem to find a sample or post relating to updating the file.I'm passing in the IConfigurationRoot to my controller...
View ArticleUsing Core 2.x Daily Builds
I'm new to .NET and Core, and am hoping someone can point me in the right direction with something... I'm looking to try out the Core 2.x DirectoryServices stuff...
View ArticleRemain on page after post
This is a really stupid question, but I'm not sure how to do the following:I have a web app (ASP .Net Core 1.1 MVC) which, when the user clicks a delete button, calls a delete action on a Web API. //...
View ArticleDocker problem in visual studio 2017
Hi folks, I am new to docker and use docker tool box. My machine is enabled virtualization Now I am trying to run Asp.Net Core Web Api with docker by default template in visual studio. I am getting...
View ArticleReading and storing static look up data in ASP .Net Core web app
I have a web app (ASP .Net Core 1.1 MVC) which has some basic CRUD operations. The web app consumes a web API for all its operations.The web app has some pages for editing, with basic textboxes and...
View ArticleAdfs Authentication
Hi Guys,I am trying to authenticate user using ADFS for Single Sign-On in ASP.NET Core 1.0 application but found no luck. Please help me to get start.Thanks Gunjan
View ArticleWhere is Config.web during development?
When I publish my ASP .Net Core 1.1 MVC web app, I see the Publish folder contain a Config.web file, where I can set "stdoutLogEnabled", etc. However, while developing I don't see this file at all - it...
View ArticleCode analysis support in ASP.NET core 1.0
Hi ,I have created project in ASP.NET core (Restful API and Web project), whenever i run the code analysis tool it doesnt pick up the any of my project.Also code complexity tool also doenst work...
View ArticleRazor not Rendering Tag Helper
Hello,I'm attempting to use Tag Helpers to render a select menu. However, when I run the program, it displays in the HTML:<select asp-for="Country"...
View ArticleHow to implement the export to excel in asp.net core.?
I need a generic method to export the object list to excel.Could any one help for me.It should be in download manner not to get saved in wwwroot folder.[HttpPost] public virtual FileResult...
View Article