Tuesday, February 6, 2024

Parameterised Stored procedure with select query and output parameter

 create proc sp_test_select_output
(
@id int,
@rtnval int output
)
as 
begin
select * from tblCities;
select @rtnval = @@ROWCOUNT;
end

--declare @output int;
--exec sp_test_select_output 0, @output output;
--select @output as 'OUT PUT'




Friday, April 10, 2020

System.IO.IOException: Failed to bind to address https://127.0.0.1:5001: address already in use.

In this post I will show you how to solve above problem. To solve this problem there are multiple ways in VS Code. some of them are...
Before that previously I had shown you










Solution:

Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found or is out of date.

In this post I will show you how to solved the Issue. Here I am using VS Code.
Previously I had shown







To solve this problem I had generated certificates as described in the error message as shown below.
    To generate a developer certificate run 'dotnet dev-certs https'.
    To trust the certificate (Windows and macOS only) run 'dotnet dev-certs https --trust'.
    But no use.

Don't worry there is a solution.

Steps for solution:

The entity type '' requires a primary key to be defined. If you intended to use a keyless entity type call 'HasNoKey()'.

As the title says The entity type '' requires a primary key to be defined. If you intended to use a keyless entity type call 'HasNoKey()'.

In the previous post I had shown

Source Code