Category "asp.net"

Combine two data tables with null values on both tables - C#

I have two data tables as shown below. datatable1: table1_id(PK) DriverID Vehicle 111 Ram00 VRN01 112 Shyam00 V

Multiple Objects stored in database ASP.NET Entity Framework

Can I make the below changes to my databse whilst maintaining the one-to-many relationship? Would my Airport class need to change at all? Existing Flight class:

Chrome ERR_HTTP2_PROTOCOL_ERROR + Firefox Secure Connection Failed

I'm hosting a website serves global regions, and recently there's a weird issue came up. Already checked other posts on the Internet including the one in stacko

Is there still a Microsoft Authenticator dev API? How can I use It?

I don't know exactly if I should ask this question here, neither if I'm using the exact right tags, but... I need to add a 2FA to a system I'm developing and, w

SAML2 Authentication using ASP.NET with ADFS Federation meta data

I am trying to implement the SAML2 authentication from ASP.NET Web Application(SP)(.Net Framework 4.0) with ADFS(IdP). I had integrated SAML2.o nugget and tried

Valid HTTPS certificate for dotnet development on localhost - Ubuntu

I need to test something which needs to be served over https and I believe the standard dotnet dev-certs https --trust doesnt work on Ubuntu. I have tried gener

How can I get the full source (HTML) of a web-page with vba?

I am trying to automate a work task using excel VBA. I can't seem to get all the source code. I created this simple code to test it. dim IE as object Dim S as S

ODataQueryOptions do not response the property which is my custom class

I have an entity like this public class MyDto { public string string1; public string string2; public MyCustomClass myCustomClass; } I have two cont

Tenants Not Loading When Adding Azure AD Service Dependency

I'm attempting to add an AAD service dependency to a new ASP.NET Core Web App (MVC) project. I went to Connected Services, clicked on "Add a service dependency"

Call external library from asp.net web form

I need to call a function which sets off a bunch of long running database operations from an asp web page. My function is in an external class library. I simply

ASP.NET show dynamic changes on all clients

I'm a beginner with ASP.NET and webapplications in general. For a project I have to interact with an enginnering software to read some data, for this I have to

Compilation error after publishing individual Razor page. Persists after publishing entire project. ("Compilation references may be missing")

Today I was working on a .NET Core 3.0 project (VS 2019). I added a CSS class to a <span> on one of my pages. That's it. Nothing else. I figured publishin

Error "dotnet : Could not find any project in `C:\**." when running "dotnet add package Microsoft.AspNetCore.Authentication.MicrosoftAccount"

I have visual studio 2019 and i created a new asp.net core 2.2 project. now i am following these steps Configure Microsoft Account Authentication to enable exte

Asp.Net Web Forms App integrate into MS Teams

I have a Asp.Net Web Forms app which I have built. I would like to have it integrated into a MS Teams site, but im unsure which Authentication model to use wit

How to type cast of a session object into a class object in c#

i have a class called user. I put that class object into session. My question is, how can i retrieve that object into another page? var user = obj.user; var use

UI changes not persisting in ASP.Net application

I have a table that's hidden by default. When clicking the search button, I'm using jQuery to remove the d-none class and show the table. <input type="submi

Is there a way to use .NET 6 class library project as a DLL or project reference in the ASP.NET Webforms application (.NET Framework 4.8)?

Is there a way to use .NET 6 class library project as a DLL or project reference in the ASP.NET Webforms application (.NET Framework 4.8)? I have an ASP.NET web

How to modify port in .Net framework web api

I write a demo program, to use .NET Framework Web Api2. For some reason, I have to use .NET Framework rather than .Net Core. But I've got a problem, how to modi

How to Publish dotnet webapi application that have mutiple projects to iis

[![this is my webApi project solution structure.this have multiple projects added][1]][1] how can i publish these kind of projects in visual studio 2019 [1]: ht

CSHTML WYSIWYG editor/previewer

I wanted to create an Asp.net Application, but I can't find a WYSIWYG editor in Visual Studio or even a Previewer, is the only way to see what your page looks l