Content
cookie can not read after downgrade from 7.0 to 6.0?
I am using .net 7.0 and after I downgrade to .net 6.0 I can not use HttpContext.User it is not authenticated. in F12 Cookie I can see the Cookie I have set but I can not read it why?
add one to one and one to many relationship
Hi So a little weird but im trying to add a one to one and one to many relatioship between two entites lets say i have two entities 1 is branch 2 is AppUser now a branch can have a app user as the branch admin(done through roles not the elephant in the…


How to load data of employee if drop down list selected changed ?
I work on MVC web application using c# by ado.net I face issue I can't display employee data based on drop down selected index changed . so if user select Pending Request from drop down list it will select employee that have select employee status 1…


Creating similar screen in ASP.NET (Web forms)
Hi, I would like to create something similar to this in ASP.NET: Which is the best way to do it? Thanks


What are the best practices for optimizing the performance of an ASP.NET MVC web application?
i am facing issue optimizing EHR application built on ASP.NET


X509Certificate Client Authentication
Hello guys, I have the following code that was working perfectly fine for 3 years already. ServicePointManager.Expect100Continue = true; ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 …


How to fix provider: SSL Provider, error: 0 - One or more of the parameters passed to the function was invalid.
We have updated TLS 1.1 to 1.2 on application server where ASP.NET web application is hosted on IIS. The application is built with .Net framework 4.7.2. But after installing cipher on the application server, application unable to connect the SQL database…


asp.net setup doubts
Hello We Have developed one small web application which has aspx page and cs file c# as a code behind. We use database as sql express 2008 R2 Microsoft SQL Server Express Edition with Advanced Services ( sql server management studio …


Send email form Gmail account using C#
When sending an email using the followng code, I'm getting an error, I'm asking for your help. Authentication Required. Learn more at string adSoyad = txtAdSoyad.Text; string konu = "Koçaslanlar Web Konu başlığı"; string epostaAdresi =…


How to add activity source to tracer provider dynamically for a single service?
In the blog here, https://learn.microsoft.com/en-us/dotnet/core/diagnostics/distributed-tracing-instrumentation-walkthroughs , Its mentioned in the best practices for ActivitySource to consider creating a new one for each library rather than using a…


SELECT MONTH AND YEAR FROM DATE FIELD FOR SQL DATASOURCE FOR A GRID VIEW
I have a gridview with sqldata source in my aspx+Vb +sql web. There is a date field in my table have on dropdownlist mthtxt.text and another dropdownlist yrtxt.text Table name is Clinic_Med_Issue Empno Name Medicine qty effdate MM001 Baiju …


No funcionan los breakpoint .net 2005 en win11
Recientemente actualice mi computadora a win 11, y tengo instalado el .net 2005, y ahora no funcionan los breakpoint en ningún website que tengo, no me marca ningun error simplemente no los reconoce. Ya intente todas las soluciones que he encontrado…


Is it possible to implement the custom security to the SSRS 2019?
Please share the code, if we can implement the custom security to the SSRS 2019


Unable parse Json
Can any body help me parse the below json in ASP.net C# i need the grantedTo": email and Id also. I have tried many ways but unable to parse. Can anybody…


I'm getting code first approach validation error can you help me
I add error massege and I update database with (datanase-update -Force).but not working error massege. why ?


Possible Handle Leak on Azure App Service App
We have an ASP.NET 4.8 application hosted in Azure App Service. At times we see a spike in latency in usually a single instance which also shows spikes in CPU time, TCP connections, Thread Count and Handle count. The average thread count and and average…


How to remove shared permission individual wise from an external user using One drive API inc#
I have uploaded a file in one drive using MS graph one drive API. I have also shared this item to external users by using one drive API. These two external users also showing in the manage access section as Link User. i want to remove individual Link…


Hoe to share a document link for external user using one drive API
I am using Onedrive api for sharle a document link to extenal user in c# it is not working


Upload a File One drive using MS Graph API in C#
when I am Uploading a File using Onedrive MS graph API in C# the file get Uploaded but every time i got a mail to that one drive account. I have set all notifications off from the one drive settings but still i am getting an email on every time file…


Hide\Show group text in ASP.NET
Hi, I want to show & Hide group box according to certain condition: ASP.net: <div id="MyDiv" runat="server" visible="true" style="margin-top: 10px; margin-bottom: 10px;"> <asp:Panel…

