How to call stored procedure procedure using entity framework core?
I work on asp.net core entity framework I have csharp function done using ado dotnet stored proceure i need to convert it using entity framwork core with another meaning how to call stored proceure using entity framework core 6 and i don't need to use…
how to stop next wizard step navigation when i click Next Button in asp.net
I have thrown some error when a user Submit a form if textbox's are empty like this so the error was displayed but navigated to next wizard step how to stop manually or how to maintain current step wizard
type or namespace not found error (Users1,Tbliller,tblilceler)
I added a string column in the database. I deleted my model which is db first approach in ASP.net mvc. And I added it again updated from the database. But I'm getting an error, I don't understand why this could be. I've done this before, no errors …
How to store selected Id and selected text on hidden field using razor ?
I work on razor asp.net core . I face issue i can't store selected value id and selected text of select option drop down on hidden fields so I need to create two hidden fields first hidden field to store selected value id and second for store selected…
My grid view task missing auto format and edit template ?
Hi everybody! Can anyone tell me how could i do to display the autoformat and edit templates in design in webform. I use Visual Studio 2022 and also i can not drag and drop these grid view in the center :( It is my GridView task. This is Gridview task i…
Sign with the private key using the SHA-256 algorithm
Hi all, I have to implement the signing of a string with the private key using the SHA-256 algorithm. I am developing MyPos bank online checkout, here are the specs. Starting from the certificate I extrapolated the private key but I can't sign the…
Question: Logout or Clear Cookie - Browser Close
Hi Team, Currently, user can sign in back automatically i.e. user is not asked to login back when browser is closed. I would like to force user to sign-in back when user close browser. Reproduction steps User User open browser enter https://example.com…
How to fix Session is getting null unexpectedly after 30 min in IIS application
Session is getting null unexpectedly after 30 min in IIS application.. please help.. I am getting this error from last 15 days.
How to download Microsoft WebMatrix to my computer?
Hey Guys, I'm studying coding at the moment and my tutor has advised me to download WebMatrix. I have followed the video you posted about downloading Installer Platform but when I go to the installer platform app nothing shows up. Is there a link I can…
What am I doing wrong in the calling a Javascript Function
Please I have been battling with an issue since yesterday. I have a view where I wanted to call a Javascript function and then thereafter display a modal view with data but the Drop Down selection is not just returning the value of the selected option,…
How to convert code from asp.net web forms to razor asp.net core page
I need to fill tree view with parent child on razor asp.net core but I don't know how to fill tree view parent child and child can select checkbox and can see related child for every parent my code with web form csharp protected void Page_Load(object…
Log out when the browser or tab is closed (Asp Net + Mvc + Framework 5.4.1)
Hello, I would like my project to log out when closing the browser (Edge) or when closing the Tab that contains it. The program is in ASP.NET with MVC and Framework 4.5.1. Now I have inserted this script in _Layout.chtml <script…
How to persist and retain values of username after make post submit without reset value using Hidden Fields?
I work on asp.net core razor page . I need to retain and save data on the page after submit page because i check value of Username after submit it not retain and it become null so I need to retain the value of user name without reset using hidden…
Is word document read base64 image format
Hi, I tried to export html content to word document, except images everything working fine. Please can you assist to export base64 image to word document. How to export base64 image string to word document? Is word document read base64 format? How to I…
How to store data on asp.net razor page using hidden field?
I work on asp.net razor page .i face issue when navigate to page after make submit it reset all values on page I read more the issue will solved by using hidden fields so suppose I have asp.net razor page have username and email and i need store fields…
Website hosted on IIS contains multiple AssemblyFileVersionAttribute, what causes an error when calling FrameworkDescription property
If host a site (asp net framework 4.8) on IIS (win server 2019), then System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription property call - throws an exception: AmbiguousMatchException: Multiple custom attributes of the same type…
REGISTRATION AND LOGIN PAGE USING ASP.NET WITH C# LANGUAGE
Using an ASP web form, design a registration and login page that meets the following requirements; 1. Password is hashed/encrypted in the database 2. Include a notepad file of your database table.
How to implement CSRF in asp.net VS 2019 Pro
I am having master page and child pages for my project. Is it possible to implement with helper class of Site.Master.CS and Site.master ? Please help with sample code. Thanks for the help!
Payment button works everywhere except in Iraq
Hi, The following code work everywhere except for victors in Iraq: $(document).ready(function () { $("#checkout-stripe").click(function () { var movie = new Object(); …