What version Visual Studio and Runtime is best to Use for .Net Core
Greetings, I started an internet project using MVC5. I am now getting familiar with and trying out .Net Core features in VS205 Update 3. At this point we are trying to determine whether...
View ArticleMigration Asp.Net Web Forms to Asp.Net Core
Hi everybody, We are using Asp.Net web Forms and we can design our sql membership. We need to learn Asp.Net Core. We dont understand some structure. Weanalyzed some many example, that use Asp.Net...
View ArticleAccess User Identity claims in API
Hi,I am unable to get user claims in my API. I have tried to inject IHttpContextAccessor but it is always null.So, how can I access user claims from my api controller?Regards
View Articledeploy asp.net core in ubuntu 14.04
I tried to deploy my asp.net core application in ubuntu 14.04 following the documentation belowhttps://docs.microsoft.com/en-us/aspnet/core/publishing/linuxproductionIn Monitoring our application...
View ArticlePublish .NET Core on Linux
Hello Everyone, I have an application developed in ASP.Net Core using Visual studio 2015. Now I just want to know how to deploy this on Linux machines. When I google it I got to know that we can run...
View Articledeploy asp.net core web api to nginx 502 bad gateway
I created an empty asp.net core web api application and deploy it to nginx, it works well, but I tried to deploy my real project to nginx, it returns 502 bad gateway. Please check my files, anything...
View ArticleThe dependency MySql.Data >= 7.0.6-ir31 could not be resolved
I tried to deploy my asp.net core web api to nginx, the web api project reference a class library. The class library installed MySql.Data package from nuget. After copied the whole project to ubuntu...
View ArticleHow to get ViewComponent as string in the controller?
I've searched around on how to get a ViewComponent as a string.I found the method to do it in .cshtml razor like this:var writer = new System.IO.StringWriter(new System.Text.StringBuilder()); (await...
View ArticleNot able to create controller/views through the scaffolded option
As I was trying to setup the new open source ASP.NET Core 1.1 .net 4.6.2 with Entity framework Core 1 for a QA POC facing issues in some of areas1) Going with the Code first approach to use view...
View ArticleUnable to resolve service for type...
So i'm trying to upload my images via a API to the folder and for that i need my environment which wouldn't work.The error that i get:Unable to resolve service for type...
View ArticleAsp Net Core CountAsync() on generic Iqueryable
Hello,I keep getting this exception on Asp Net Core 1.1.0:{System.InvalidOperationException: The provider for the source IQueryable doesn't implement IAsyncQueryProvider. Only providers that implement...
View ArticleHow to use sql transaction and commit code in ASP.Net C#
Hii have a query in which i used SQL Begin transaction and commit transaction.how to use this code in ASP.net C#.this particular action should be perform on button click.Regards,Jyotsna
View ArticleVisual studio 2015 publish error. Help me
Severity Code Description Project File Line Suppression StateError Could not find a part of the path...
View ArticleAdvantages of using .NET CORE cross platform in web application or Web...
ASP.NET core has many features like:Modular design. Cross platform.Open sourced Dependency injectionShips entirely as Ne Gut packages But main feature is cross-platform according to many.With respect...
View ArticleWhere are we using ASP framework in ASP.NET MVC or ASP.NET Core MVC?
So in ASP.NET MVC or ASP.NET Core MVC application we use:C#.net - Class files.MVC.NET - Routing, Model View Controller type environment, Attribute routing, Html helpers etc.Config files - XMLViews -...
View Articlehow to use log4net using asp.net core 1.0 rc2, log4net 2.0.5 is not supporing...
Hi, I need logs into a text file instead of console , using asp.net core 1.0 rc2 the log4net is not supporting and the latest version from nuget is log4net 2.0.5 . how to use log4net for my asp.net...
View ArticleWhy ASP.NET Core templates is not creating few files and throwing error on...
This is how I created the project:Step 1: https://drive.google.com/open?id=0B2ULAipscxP7ZEhWSzdDUzdCZUUStep 2: https://drive.google.com/open?id=0B2ULAipscxP7c2ljTlVMU2ZNT3cThe error thrown...
View Article.NetCore.1.0.1-VS2015Tools.Preview2 installed with wrong templates in Web and...
Hi All.I'm using VS Enterprise 2015 with Update 3 on Windows 7 Enterprise SP1. I installed successful:DotNetCore.1.0.1-VS2015Tools.Preview2.0.3and.NET Core 1.1 SDK (64 bit) But when ran VS and select...
View ArticleWhen does asp.net core support bitmap
Does someone know when Microsoft will support bitmap in .NET Core? i want to compress images / crop images in my webapplication.is there already support for this and do i need a package or is there a...
View ArticleWhat frameworks Asp.net Core is using internally for Dependency Injection and...
What frameworks is Asp.net Core is using internally for Dependency Injection and Logging?
View Article