Performance issue - Asp.NET core 1.0 deployed on IIS calling Web API
Hello,We have following deployment in IIS 7.5Asp.Net Core 1.0 RC2Web API using Asp.NET Core 1.0 RC2Calling Web API is taking around 1 minute instead of calling Web API directly from web browser which...
View ArticlePost button actions back to same controller?
I have a HomeController, which invokes a view (Index.cshtml). In a form in this view, I have two simple buttons: like this:<formmethod="post"> <buttontype="submit">AUTO</button>...
View Articlewhere can I get all the dependencies for "dotnet restore"
The server I am gonna deploy website can not access to the Internet, So I want to download all the dependencies in advance before I try to use "dotnet restore", where can I get those stuff?
View ArticleMVC ViewComponents, InvokeAsync result not sent to output stream
Since RC2 forced the use of InvokeAsync I can't get output into the page without forcing it there myself.If I create a new ASP .NET project and add a view component, then reference it in a razor page...
View ArticleHow to generate EDMX file for EF6 in ASP.Net5 (Database first approach)
I am trying to use EF6 is my ASP.Net5 application, I installed the package from Nuget but I am not getting any template to generate the EDMX file. I found couple of article that talks about code first...
View ArticlePlease help me understand what I am doing regarding dnx451
A few months back I created a web MVC site using VS2015. When it was created the project.json had two frameworks mentioned.I immediately removed the reference to core as I knew I would be using...
View ArticleNuget for ClientAssertionCertificate class in asp.net core to connect to AAD...
Hi ,We are trying to connect to AAD to get access token/jwt token using Certificate instead of using Client Secret in Asp.Net Core application . But Microsoft.IdentityModel.Clients.ActiveDirectory...
View ArticleEF Core in class library
I'm finding some limitations in Core class libraries, in my case using EF Core migrations. There are tutorials around about how to fake libraries to behave as apps, but I can't tell if this is an...
View ArticleWhat are the best ways to force the cache to be cleared when data related to...
Hi All, My requirement is to clear the cache in app when database flag changes. I need suggestions which is the best way to do .
View ArticleIssue with display of Currency Datatype when running from Docker linux container
I have application I have built to demo the functionality of ASP.NET Core 1.0 and EF Core 1.0. When running from a Windows based deployment the display of Currency data types uses the $. The same...
View ArticleHow to isolate dynamic code / assemblies without appdomain
With .NET 4.5 I created an extensible web application. With executes at run-time certified code from third parties.For this, I use app domains and inter-process communication.Now I saw that a lot of...
View ArticleHow to Replace Built in IoC with my own IoC?
As we all know In asp.net Startup class there is a method ConfigureServices we can add custom Services. Services are made available through Dependency Injection.ASP.NET Core includes a simple built-in...
View ArticleSingle Database Model - Multiple Connection Strings.
Hello,Will the following work and be supported in the future ?1. Reverse engineer the model, use existing database - one of many instances with identical schema .2. Modify the context like...
View ArticleHow to make HttpGet accept an incoming ViewModel
I've been messing around with a web api, but I need a GET method that reads an incoming dto so it can use multiple parameters in its search. Basically something like this:[HttpGet("{AccountDTO}")]...
View ArticleShow username on _layout
I am new to asp.net core. I have moderate experience in C# and WPF. I have some experience with PHP MVC (Phalcon PHP).I am trying to develop a new application using VS2015 community and host on Azure....
View ArticleDisplay MCQ's one by one For Test onclick Next button
//listOfQuestion contains all questions of the test List<StudentQuestionPprModel> listOfQuestion = new StudentDAL().GetTestQuestionsForTest(Convert.ToInt32(HiddenTestID.Value)); //where to...
View ArticleGetUserId in EntityFramework 1.0 Core
How do you get the currently logged in users UserId in EntityFramework Core 1.0? In EF6 it was easy as Users.Identity.GetUserId().
View ArticleUpgrading from "1.0.0-rc2-3002702" to "1.0.0"
Hi,I want to upgrade my netcoreapp from "Microsoft.NETCore.App": "1.0.0-rc2-3002702" to "Microsoft.NETCore.App":"1.0.0". Here is what I did, PM> install-package Microsoft.NETCore.App GET...
View ArticleVisual Studio 2015 Updates
I downloaded visual studio 2015 today, but I don't know if it comes with all the updates,Is it RTM ?, or do I have to download and install tools?the reason I am asking is because after installation,...
View Article