Get Active Directory Object Owner
I’m on Core 2.0 using the Novell LDAP library (https://github.com/dsbenghe/Novell.Directory.Ldap.NETStandard), and am struggling with how to get the Owner of a computer account object in Active...
View ArticleSolution Print In .Net Core 2.0
I want to print a .pdf file in server-side (api or mvc).I have tried to research but can not find any solution.I need a solution, please.
View ArticlePE format difference: .NET vs .NET Core
The idea of the code below is to extract build timestamp from PE-compatible EXE or DLL. The code works perfectly for .NET binaries (for >6 years by now, btw) and reports rubbish for .NET Core ones....
View ArticleEntity Framework 6 and .NET Standard 2.0
Is Entity Framework 6 usable in .NET Standard 2.0?
View ArticleMixing Cookie Auth and JWT auth in same controller (dual auth)
HiI'm working on an ASP Core 2.0 project that contains in the same controller both API actions returning JSON and actions returning views for simplicity.I implemented the dual auth considering the...
View Articlewhy asp.net core with angular template still contains razor views?
Hi all,I use VS2017 to create ASP.NET Core 2.0 web application, and I select Angular template, but the generated project still contains razor view, why? Any blog or articles can anylize the project's...
View Articlesetting Reply URL
I have Core Web app in a Service Fabric service running, single node. It uses AzureAD for authentication. This works fine, the AzureApp hashttps://localhost:12345/signin-oidc as reply Url defined and...
View Articleasp.net core 2 web app with angular 4 (used SPA template in VS)
Not sure why this is happening but whenever I run my app now in Visual Studio the angular app doesn't work and if I look in Chrome dev tools I see things like...
View ArticleAdd Migration Error
Hi there, I wondered if someone would be able to advise on a course of action for an error I'm getting when adding a Migration.I add a class called Country containing the following properties: public...
View ArticleForms Authentication and Authorization
Hi,Just started working on .net core. I have created a project using .net core. Now I want to implement forms authentication. So looking for any inputs of how to integrate forms authentication in .net...
View ArticleSignInManager.GetExternalLoginInfoAsync returns null
SignInManager<ApplicationUser>.GetExternalLoginInfoAsync returns null. I am not sure why. I am trying to retrieve the same"userId" (user-defined) that I stored in the cache via...
View ArticleAJAX does not interact well with Identity Framework
Hello,I am developing a WebSite in ASP.NET CORE MVC that uses Identity Framework for User Authentication. The WebSite heavily relies on User being logged in. In order, to improve user experience I am...
View ArticleHungarian notation in System Generated code
While Microsoft suggests to avoid using Hungarian notations in code, why do the system generated code of Event Handler contains following line? private void TextBox1_TextChanged(object sender,...
View Articledefault asp.net core web app template fails to run
Using asp.net core 2.0 with Visual Studio Community 2017 for MacCreated a brand new asp.net core web app project using the provided templateClick run project Project builds successfully Browser opens...
View ArticleMissing User Claims at the ApiController level
We are porting a MVC app to .NET Core 2.0 running in Service Fabric.We have a problem in getting the Authentication information back in ApiControllers while in the Controllers it is just fine.In the...
View ArticleSupport of raw socket in dotnet core 2
Hi All,I'm currently working with C# on .net core 2 on:- x86 windows,- x86 linux,- ARM linuxI would like to use raw socket in my C# solution.On windows everything works fine, on linux (x86 and ARM) i...
View ArticleRecord video using mvc core 1.0 c#
hi,can any one please help me in finding the ways to start capturing video from application using mvc core 1.0 c#thanks,priya
View ArticleUsing View Component by taghelper
hi, I created a View Component named "LoginForm".When I use @await Component.InvokeAsync("LoginForm"), it works. But tag helper <cv:login-form></vc:login-form> shows nothing.I added...
View ArticleWebSocket and WebAPI
Hi,I would like to know if it is possible to run Websocket and WebAPI functionality in one ASPNet Core 2.0 app. If so, is there a sample implementation? Thank you.
View Article