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

Asp.Net Core 2.2 - HTTP Error 500.0 - ANCM In-Process Handler Load Failure

I'm developing an application in Asp.Net 2.2.I made the application public via FTP.When I access the service with my application I get the following error.The hosting service tells me that something is...

View Article


ASP.Net 4.5 to ASP.Net core 2.0.1 migration

Hello All, PLease help to migrate EF 6.2.0 to EF core 2.x version, My current web application is using EF 6 code first approach to create DB, now i would like to migrate the EF framewoek to core with...

View Article


is it possible to access database in an Authorization Filter?

hi,I take database via constructor in classes and in action filters after the action execution I use resultContext.HttpContext.RequestServices.GetService<T>(); and then via a service I can access...

View Article

Get child Ids recursively

There are a TON of examples online, yet I can't find one that addresses what I need, and I'm just not really getting the nuances of recursion. I have an application user table that has a "ParentId"...

View Article

Generating emails programmatically

Hello, I am using asp.net core 2.2, I have an mvc web application that provides a series of forms and utilities which allow a user to generate data which needs to be rendered in an email.The resulting...

View Article


Multi-language options for dynamic content (from database) in ASP.NET Core MVC

HI guys,I want to make my project in three languages, so the project will be multi-language. I've read about globalization & localization, but they are useful for static content such as menu names,...

View Article

ODBC with ASP.NET Core 2.2

Hi FolksI'm developing an application ASP.NET Core 2.2 on .NET Framework 4.7.2 that needs access to SQL Server, MySQL, Sap Hana, and DB2 thruODBC. I have installed the ODBC Driver on Windows, the user...

View Article

alive session while working in asp.net c#

Hi ,while working , session automattically closed . how to session alive till my work completed.In web config.<sessionState mode="InProc" cookieless="true" timeout="30"/>while login i'm...

View Article


How to not display a certain number in razor?

Hi, I have an array of ints that i display the content of in razor:<p> @Html.DisplayFor(t => Model.Numbers[2])</p>This displays the number at index 2 of the array.I wonder if there's a...

View Article


I want to migrate into .Net core

I am trying to start migration to .Net core. However, when trying to install the .NET portability analyzer, It always gives me installation failed. I am using VS 2015. Is there another way to make...

View Article

how to store Personal Identification number , without viewing to others...

HiIn Employee table ,  there is one column Personal Identification number  . It is simple varchar column right now. But I want to change it should be  unreadable format to other people who are going to...

View Article

Why xdt:Transform (web.config) has no effect in VS 2017 Community?

Hello I migrate my VS 2010 project to VS 2017In Web.config will be changed SQL-Server-connection String in accordance to live or testsystem.it achived with following command in...

View Article

How to show employee Holiday Entiled and Remining holiday on the same row of...

I have a data table to show employee holiday Entitled and Remaining Holiday. On this data table I would like to show the Entitled Holiday and Remaining holiday of each employee , on the group header of...

View Article


Switching between cultures in dropdown redirects to default culture

Hi guys,I want to provide setting and other relevant details that I used in localization to make multi-language options to work. When I add culture query string to URL, content language changes...

View Article

Help needed Image Processing

Hello Team,I am working in Asp.net core 2.1 webAPI and i have a scenario like i get base64 string as input and i need to convert that to an image(jpeg) and need to store the image in different server...

View Article


Adding Swagger Generation Support in Asp.Net Core 3.0

Swagger is nowadays a standard for API Documentation, especially when we work on microServices or simple API.At this moment, there's no full support, in .Net/.Net Core for Swagger code generation,...

View Article

Webservice ASMX to .NetCore

Hello community. I currently have a WebService in SOAP (ASMX) that serves many applications. I want to change this service to the NetCore API. I already did the class to provide this...

View Article


Trying to modify xml file stored in wwwroot - IHostingEnvironmnet it always...

I hope you are well.I am having an issue. I want to be able to update my XML file that is stored in the web root (wwwroot) but whenever I try to use IHostingEnvironmnet it always returns null.my...

View Article

A few API questions

HiI am changing my web app from mvc to core, and I am changing from razor to angular.I have started building and would prefer to put my API in a seperate project to the angular, whats the best way to...

View Article

ODBC with ASP.NET Core 2.2

Hi FolksI'm developing an application ASP.NET Core 2.2 on .NET Framework 4.7.2 that needs access to SQL Server, MySQL, Sap Hana, and DB2 thruODBC. I have installed the ODBC Driver on Windows, the user...

View Article
Browsing all 9386 articles
Browse latest View live


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