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

How to get current culture in razor page?

I wanna to get current culture in razor page to decide which online font to load,and I can hardly find how to get it in razor page.However I have  a stupid way to it as...

View Article


.Net error while installing a software (UiPath)

System Config:Operating System: Windows Server 2008 R2RAM: 16 GBHDD: 1 TBProcessor: Intel Core i3-3220 CPU@ 3.30 GHzI am trying to install a software (UiPath) on Windows Server 2008 R2. Prerequisite...

View Article


ASP.NET Core (2.0.3) - Unstable and inconsistent behavior (OOM using docker)

Hi!I have created a small asp.net core API, which has one endpoint that resolves OpenGraph tags and sends back its results.You can get the full source code...

View Article

Abort worker process

If after placing an HTTP request a user decides to abort server processing what my options are to implement something like this?Thanks

View Article

How to use url to control Globalization and localization in .net core?

I have a project which must use url to control Globalization and localization.I used Globalization and localization as...

View Article


Execute javascript code from ASP.NET Core back-end using NodeServices

just read this article file:///E:/download/Execute%20javascript%20code%20from%20ASP.NET%20Core%20back-end%20using%20NodeServices%20good.htmvar _ = require('lodash');module.exports = {sortBy: function...

View Article

.net core web api redirect to another page

<div class="votecell post-layout--left"> <div class="vote">0down votefavorite<div class="favoritecount"></div> </div> </div> <div class="postcell...

View Article

Template not work in azure

Good night guys.<br> My template only enters when squeeze the application into LocalHost .. I gave publish to azure and the template does not enter. when some webapp Core is published in azure...

View Article


Validation when Only One Field Is Required

HiI have a class where there are three fields First, Middle , LastUser is required to fill in at least one of the three field. I cannot put [Required] attribte to each of them because I need at least...

View Article


what cms systems are available for .net core

What cms systems are available to use on a pure asp.net core(mvc 6) web site. Right now i am learning umbraco and know my choices are limited. I also seen orchard2. Are there others and what is the...

View Article

Swagger on aspnetcore 2.0 not working

Trying to get SOME kind of swagger tooling working with my WEBAPI on ASPNETCORE 2.0 but having a lot of trouble...So I went back to an empty project and following the workflow here...

View Article

ASP.NET core in vs 2015

Hello .NET Team,When I  try to upgrade my ASP.NET core 1.0 version to 2.0 in visual studio 2015 I am getting an error.Does Visual studio 2015 supports ASP.NET core 2.0?Please help me out.

View Article

Create a Tree Structure from scratch...

I must create a tree structure from scratch on my MVC VIEW page.   This is for a folder tree within my web page.  What I need to know is how to create a dynamic table that indents based on the data...

View Article


Session cookie is generated if we do not turn on session

as we know if we need to work with session in asp.net core then we need to turn on session first in middle tier likeFirst steps ------------- Microsoft.AspNetCore.Session package provides middleware to...

View Article

Entity Framework Database first approach in VS Code.

Hi All,I am trying to build WebApi using dotnet core. I already have sql database. I want to build this database using EntityFrameWork. I have googled it and found examples using Visual Studio 2017 (or...

View Article


How to post or get data from or to a outer web api server in asp.net core...

I build a asp.net core razor page website  www.mywebsite.com/wx. There is a api server https://api.outerserver.com/server .When the outer api server post a xml data to mywebsitewww.mywebsite.com/wx...

View Article

Razor page - link creation

Can someone explain this?this (tag helpers) works as I'd expect (where by there appears to be the requirement to put the full "Pages/folder/folder/pagename" and no "relative" paths can be used)<a...

View Article


How to call stored procedure when using Dbcontext

Hello All,Kindly Help Me on this , I have created the crud application for listing Data in crud i need to pass the value from stored procedure.I have creatred a Db context class in that ihave created a...

View Article

How to set roles on register and get the roles on login?

Dear Sir/MadamI want to set the role of the user  when he/she get register.And i want to get the role on login(As per Authorization).here the user detail are getting save in database on register but...

View Article

Resource authorization within API but on a permission based level

An example to make it more clear what I mean:User U1 creates a blog B1 and only this user will have access to edit/view and delete it initially.Now user U2 applies for viewing/editing rights for blog...

View Article
Browsing all 9386 articles
Browse latest View live


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