Hosting Site requirements for asp.net Core
What does my hosting site need to have on it to run asp.net core?I'm looking to start a MVC 5 asp.net application with asp.net identity.
View ArticleDevelopment in docker - dynamic compiling
Hello What is the best way of setting up a development environment using .net core and docker? From the examples I've seen, it seems that you have to redeploy everything everytime you make a code...
View Articlewhat is the best choice?
Hi, I wanna create a website which contains some subdomain.each subdomain is complete website which has it's own database.what is the best way to manage users and roles in my main website(main...
View ArticleCan I use Microsoft.AspNetCore namespace in my project.
Hello, I have a project that implements MVVM pattern. Project locates at my repository https://github.com/daviatorstorm/BibaViewEngine. I want to use Microsoft.AspNetCore namespace as a root namespace...
View ArticleASP.NET Core 2.0.1 with Azure B2C
Hello, I am developing a WebApp that uses the identity management system of Azure B2C. The system is already running but with a problem: a login page or B2C registration with a Microsoft account and...
View ArticleReplacing IFormFile with a byte array in an POCO
Hi,I have an HTTP server with a model which has an IFormFile attribute which I want to replace with a byte array. The HTTP Client sends a PUT request with follwing content disposition...
View ArticleCustom Error Page for 502 Bad Gateway
I have an ASP.NET Core 2.0 Razor Pages application that is hooked up to AAD v2.0 auth.I'm adding the following policy:options.AddPolicy("DelegatedAdmin", policy =>...
View ArticleWeb API: Controllers minor design choice
Good day everyone.I'm trying to create an API for Project management.Every project has a set of tasks so my models are Project and Task.I've created a ProjectController class that allows for CRUD...
View Article.net core 2.0 - access file on one server from another server.
I'm sorry if this has been asked before. I just cannot seem to find anything.In my .net core 2.0 project I have it running on IIS on one server (utvm06-06). When the project runs it needs to access an...
View ArticleProblems Installing .NET Core Windows Server Hosting (2.0.3) bundle
I've been trying for a cpouple of days to get the hosting bundle installed on my server - my development environment is working perfectly, and I managed to get my web app running in an Azure App...
View ArticleThere is no argument given that corresponds to the required formal parameter...
It's like I'm trying to get my menu controller to show the menus I've added in the database to see if they should be displayed or not.but if, for example, I just get content, then I will not get the...
View ArticleRest calls only work when fiddler is running
I apologize if this is not the right place to ask.I am working on my first asp website. Using Asp.net core, Angular. In my javascript, I have a piece of code that looks like this:var url =...
View ArticleCors (Allow method) is not available in options request
I am getting Cors error in browser console."XMLHttpRequest cannot load http://localhost:9000/store/get/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin...
View ArticleDeploying website on IIS
Hi I have created a website using ASP MVC CORE 2.0.0 ; after publishing and deploying I get the following error ?Points :I installed .Net Core 2.0.0 , .Net Core Windows Server Hosting and completely...
View ArticleInvalidOperationException: There is already an open DataReader associated...
I have read a lot on this and I still don't see the error.MARS is enabled.The error is being thrown on an Invoke on a view component which previously was working fine. public IViewComponentResult...
View ArticleASP.NET Core Web API app returning JSON instead of XML
Why is my ASP.NET Core Web API app not returning XML? It is always returning JSON. When I specify "[Produces("application/xml")]" attribute in my controller, it returns a 406 status code:Link to...
View ArticleAsp.net core 1.0 - is it reliable?
I have visual studio 2015 license. I could create a core application which should be in version 1.0My client is not agree to pay for Visual studio 2017. Now it is bit hard choice for me whether I...
View ArticleCustom AuthorizeAttribute under Asp.net Core
I know current Authorize supports elements like below:[Authorize(Roles = "XX", Policy = "XX")] I want to add more elements enums like below:[Authorize(Roles = "XX", Policy = "XX", Permission="Read")]...
View Article.net core mvc app with Entity Framework
I'm having trouble trying everything I can think of to follow along with some examples that I have found on how to use .net core with entity framework. I don't get it to work.They are incompatible....
View ArticleDifferent validators in ASP.NET
Hi all,Can anyone please tell me what are the different validators in ASP.NET?Thanks!
View Article