Quantcast
Channel: ASP.NET Core
Browsing all 9386 articles
Browse latest View live

How to decrypt PasswordHash to readable password in Asp.Net 5 Mvc 6

I have a long string from PasswordHash of the ApplicationUser, which PasswordHash is [ AQAAAAEAACcQAAAAEHlhRX5FGyXtl3g+tDrtn7kHftO+wbB69aD9isxg0eQg6pE1UNxZhcdDVc2h6zv4DA== ], then I want to retrieve it...

View Article


How to use select tag helper in ASP.NET MVC 6?

asp-items tag helper attribute should be used.<select asp-for="TimeZone" asp-items="ViewBag.TimeZoneList"></select>Explain deatils select tag mvc 6?

View Article


MVC 5 Chart helper from JSON file

I would like to use chart helper with a JSON file.

View Article

ASP.net Core 1 - Authentication cookie not being set in Google Chrome (works...

I'm using ASP.net Core 1, MVC 6.  I am using SignInManager and UserManager, to authenticate a user in a web api application (MVC6 / C#) from another MVC application (the web api Logon method is...

View Article

logging info to database

Okay I'm a newbieThe thing is I want to save user activities to the databaseeg. JaneDoe created post at 5/6/2016 4:10pm

View Article


Attempting to send my first email in VS 2012 in VB

I am attempting to send my first email using MS VS 2012 in VBWhen I code: Dim msg AsNewMailAddress()O get tthe following error.  What am I doing incorrect?Error 1 Overload resolution failed because no...

View Article

Web page timeout

I have web application which timeout since its retrieve data from SQL server,tried to add timeout session in web.config but not...

View Article

change to Taghelper

I would like to change the Form and the dropdownlist to Select Taghelper to the new Taghelper but I can not understand, I got this code from the web and is working, but I don't like it  it is not...

View Article


RenderSection within an html attribute

We are using RC1 and I would like to render a section within an html attribute - this is in a Razor file<meta name="description" content="@(RenderSection("meta_content_description", true))">The...

View Article


How to get cookies at pure owin?

This is Microsoft.Owin Source Code. internal static IDictionary<string, string> GetCookies(IOwinRequest request) { var cookies = request.Get<IDictionary<string,...

View Article

How to compress razor template text?

I want to compress razor template text before razor parsed.Before:<html><head><title>welcome!</title></head><body>...

View Article

學-/歷-认-/証-QQ627/21/22/64-辦/-理-荜-/-業/.證丶诚/.績-\單

 學-/歷-认-/証-QQ627/21/22/64-辦/-理-荜-/-業/.證丶诚/.績-\單     學-/歷-认-/証-QQ627/21/22/64-辦/-理-荜-/-業/.證丶诚/.績-\單     學-/歷-认-/証-QQ627/21/22/64-辦/-理-荜-/-業/.證丶诚/.績-\單    

View Article

Cookie middleware in MVC 6

I am trying to understand the cookie Middleware authentication behavior and its flow. However, I am not able to understand that. Below is my issueDoes cookie has to be set/get with ClaimsIdentity and...

View Article


AD update using LDAP for role,department,email changes as batch

Hi Team,I want to update AD using LDAP .Fields for Update are : Name,email,Role,Department and locationIt should be a script task in ssis.I am newbie to AD Services. Coding samples and way of handling...

View Article

Object reference not set to an instance of an object when addjsonfile in unit...

I do have appsettings.json file in the unit test project. However I get the error "Object reference not set to an instance of an object". [Fact] public void...

View Article


How to add a pre-build event to visual studio 2015 by nuget?

I  create a code generator(WebCompiler.exe) for my mvc web project.Then I add a pre-build event command line "$(TargetDir)WebCompiler.exe" manually.Before Visutal Studio compiled,WebCompiler.exe create...

View Article

ASPX View Engine in VS 2015 and MVC 5

Hi,I found that ASPX view engine is fast than razor engine.But ASPX view engine is not available in VS 2015.Why?

View Article


Angular 2 http.put() not calling Controller

I put a breakpoint on the Controller and http.put() in updateItem() isn't calling the Controller.data.service.tsimport { Injectable, Inject } from 'angular2/core'; import { Http, Response, Headers }...

View Article

ASP NET 5 application is not running..

Hi All,I am just started to work with ASP Net 5 application and get stuck in first application.I have selected Empty application and try to run that. But browser is opening and it is just running,...

View Article

Tag Helper: asp-anti-forgery creates error

Hello,I am building an ASP.NET 5 app on a Mac. I am trying to use the tag helpers feature.  In my controller, I have the following:[HttpPost("login")] [AllowAnonymous] [ValidateAntiForgeryToken] public...

View Article
Browsing all 9386 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>