Models from Portable Class Libraries
How do I reference a Portable Class Library as a model in creating a view. I have all of my models in this library to work with a Windows universal app created in Visual Studio 2015 and now I am...
View ArticleCORS error
I have created an ASP.NET Core 1.1 Web API which is consumed by an Angular2 (IONIC) app. At the beginning of the project, we were getting CORS errors, which, after some modifications to the Web API, we...
View ArticleProblem with accessing the Outlook mail inbox of a Microsoft account
I have a problem with accessing the Outlook mail inbox of a Microsoft account. It all begins with logging in, successfully, and getting an access token or a refresh token. Basically, when I call...
View ArticleBrowser login prompt
Hi folks,I am using Asp.net core and have created windows Authentication (Use IdenityServer4). It seems good. Now I want to create sign in as user different in controller. If I clicked sign in as user...
View ArticlePossible Custom Login Page for Windows Authentication?
Hi folks,Is it possible to custom login page for windows authentication (Intranet application) in asp.net core?
View ArticleGenerate Custom Key Number Using C# in ASP.NET Core/EF
this my class, public class PatReg { [DatabaseGenerated(DatabaseGeneratedOption.Computed), ScaffoldColumn(false)] public Int64 RecId { get; set; } [Key,Display(Name = "File Id"), ScaffoldColumn(true),...
View Articleupload multiple file using the Dropzonejs and Asp .net core
Hi :I am using Asp .net Core to upload multiple files using the Dropzonejs ,it works fine without using the Dropzonejs , but I don't know why it is not work with it. var uploads =...
View ArticleHow to call asp.net xml web services (.asmx) from an asp.net core web api?
I have a asp.net core web api project and now I would like to know how to call xml web services from it? I used to add web references from .net framework projects.
View ArticleCannot define a class or member that utilizes 'dynamic' compiler required...
Hello everyone,I'm currently facing an issue with ASP.NET Core targeting the framework 4.6.1.Cannot define a class or member that utilizes 'dynamic' because the compiler required type...
View Article"dotnet new " command is not working , please help.
http://i.imgur.com/UGOgjJX.pngme getting this error whiledotnet new
View ArticleWindows Authentication to make SQL Server Connection
Hello: I have a .NET Core Web API Service which requires to connect to the SQL Server database using Windows Authentication. This is how it should work (raw): 1) The Windows username and password will...
View ArticleGet Web App Configuration Settings Stored in Database using .NET Core 2.x
I'm still new to .NET, and am struggling with something, and hope someone can help me out...I'd like to shift some of my web application settings (that are currently in my "appsettings.json" file) out...
View ArticleIrouteConstraint how to do in asp.net.core
I am trying to create a IrouteConstraint for a cms controller to match on slugs. However I am using asp.net core and I cant seem to find a way to resolve httpcontextbase. I was going by the...
View ArticleHow to decide site structure?
How do you decide what goes into areas, controllers and actions?For example, /oak/leaves can either go to TreeController and Leaves("oak") action, or it can go to LeavesController and Index("oak")...
View ArticleREST Api GetAsync method : Control doesnt comeback
Dear all,I am trying a sample asp.net core 1.1 webapp and trying to pull weather data from Openweathermap", but the control doesn't come back from GetAsync method!! nor the error I get. i use...
View ArticleFrom JavaScriptSerializer to Newtonsoft.Json
Hi everone,For a client i'm updating a Exact Online API. In this API they use the old ASP framework. Now i get a lot of errors in my code and one of them is a error at JavaScriptSerializer. This isn't...
View Article.NET CORE 2 Framework standalone vs with .NET Framework
Any recommendation regarding new projects, I m highly interested in building my project in .NET Core 2 and there are two options, 1. either I select .NET CORE 2 web app which directly target .NET CORE...
View ArticleCustom urls in asp.net core 2
I was wondering how does one achieve custom database based urls for asp.net core 2 does anybody have any code or tips that they can share.
View ArticleASP.NET Core Authentication problem on Windows Server 2008
After publishing an ASP.NET Core MVC app to a Windows Server 2008 host and trying to authenticate in I get a "This page can’t be found".The guide I've used to set it up:...
View ArticleIs core 2.0 in preview version or final version has been released?
Is core 2.0 available as final product or no?Is only preview version is available. Should I create a production web app using 2.0 preview or use 1.0 instead?How different or easy it is to upgrade the...
View Article