Simplest Core Web API creation
Hello all!I have read this https://docs.microsoft.com/en-us/visualstudio/mac/asp-net-core. How can I basically transform empty asp.net core project into web api with one method using lesser steps...
View ArticleBest way to create model class & views in asp.net core mvc 1.1
I am developing an MVC web application using Asp.net core 1.1 . I have a view, in that Product details will be shown. It has two types of products for example printer & scanner.I need help on below...
View ArticleUser unable to login if User's Roles are huge (Asp.Net Core 2)
My current web application with Asp.Net Core 2 is behaving somehow of which i don't understand. I created users with Identity system which is working fine and i also created Roles with...
View ArticleHow to Setup Windows Authentication for ASP.Net Core with .Net Platform.
A VS2017 ASP.Net Core MVC project targeting the .Net Framework platform was created. I then want to use filter attribute [Authorize(Roles=WorkerFunction1")] to control who can access what...
View ArticleEF Core database
hat's how I try to follow this article / guide on how to add the database to Azure DB.That's the way I have a database at Azure, but Right now, my Dbset will not get hold of...
View ArticleDynamically Setting Meta-data with Each and Every Request in ASP.NET Core
This is a tricky question which will require some deep knowledge of the ASP.NET Core framework. I'll first explain what is happening in our application in the MVC 3 implementation. There was a complex...
View ArticleHow to handle seo friendly routing in asp.net core like asp.net mvc ?
I have seo friendly routing in asp.net mvc which basically ads title along with id but upon called it passes id to action but show title + id in url. Here is the code....
View ArticleMy Partial View is not rendering inside the parent view after an Ajax call
Hi:I spent several days trying to figure it out why when I try refresh my partial view from an ajax call, the partial view is rendered without the layout.My partial view is very basic, a textbox with a...
View ArticleModules in ASP.Net Core
HiI use VB.net modules in my applications, like this:Module moduloApp Public a As String = "" Friend b As String = "" End Module This is my solution to persist variables.How to make a similar code in...
View Article33 Nuget Errors Creating a Default ASP.NET Core App in VS 2017
Nevermind. The solution was to go into Tools > Options > NuGet Package Manager > General and click Clear All NuGet CachesAlso, check the Package Sources tab to ensure all paths are set to the...
View ArticleCan not find compilation library location for package! NOT Resolved in 2.0.2?
Since ASP .NET Core 2.0 came out, I wanted to upgrade to 2.0 but I ran into this issue below:https://forums.asp.net/t/2128016.aspx?Can+not+find+compilation+library+location+for+package+I was told that...
View ArticleCannot implicitly convert type 'System.Collections.Generic.List
This is my class public class ClinicCoreRepository : IClinicCoreRepository { private readonly ArtCoreDbContext context; public ClinicCoreRepository(ArtCoreDbContext context) { this.context = context; }...
View ArticleCore 2.0 missing Scaffolding items
I created a Core 2.0 project with User Base Authentication, but upon looking at the default AccountController only the Logout() action method was generated. Where are the other scaffold items like...
View ArticleUbuntu server, what is the difference between `dotnet-host`, `dotnet-hosting`...
I'm setting up my server for hosting a .Net Core API.Along with installing MySQL and Nginx I'll be needing to install a dotnet package. The Home page of this site and all other tutorials specify to...
View ArticleConvert DOC, DOCX, PDF, RTF to TEXT ?
HiDoes anyone know if there is a library that will convert DOC, DOCX, PDF and RTF to TEXT ? I see a few for .NET (the full library), but cannot seem to find anything that specifically says it will...
View ArticleUnable to scaffold a new controller with Entity Framework Core in ASP.Net...
I'm not 100% sure this has to do with ASP.Net Core, but think so.I'm going over this tutorial on ASP.Net core , and am using VS 2017 to do so--...
View Articlehow can i create a installation screen?
I am creating a new asp.net core web project (File > New > Project > ASP.NET Core Web Application (.NET Core))how can i add a installation screen page that allow users to enter database...
View Articlesimple question...
Ok, so I have a simple .NET Core 2.0 application, that requires a login to view the page(s). I have tried to set it up so that the login page is the first page you see when you go to the site. This...
View Articleadd users and roles in asp.net core 2.0?
In original asp.net, there was an easy way to add membership tables to asp.net website.How membership tables / roles / users etc can be added to a asp.net core website?
View ArticleHow to Setup Windows Authentication for ASP.Net Core with .Net Platform.
A VS2017 ASP.Net Core MVC project targeting the .Net Framework platform was created. I then want to use filter attribute [Authorize(Roles=WorkerFunction1")] to control who can access what...
View Article