if you are doing publish in local or local server.. if you change your port number application will work.. published code run in your server or local machine
Every Question..What does it mean? Why is this? How it works?
Microsoft .Net (pronounced dot (.) net) may be a package element that runs on the Windows software package.
.Net provides tools and libraries that change developers to form Windows package a lot of quicker and easier.
Microsoft describes it as:".Net is that the Microsoft internet Service strategy to attach data, people,
system and devices through software".I'm Choulla Naresh..!
Wednesday, June 29, 2022
iis service manager - the process cannot access the file because it is being used by another process
Monday, June 6, 2022
An error occurred while trying to restore packages.
%appdata%\NuGet\NuGet.Config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageRestore>
<add key="enabled" value="True" />
<add key="automatic" value="True" />
</packageRestore>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="nuget.org" value="https://www.nuget.org/api/v2/" />
<add key="Package source" value="E:\Download" />
</packageSources>
<activePackageSource>
<add key="All" value="(Aggregate source)" />
</activePackageSource>
</configuration>
Friday, April 29, 2022
Unable to update the EntitySet 'TableName' because it has a DefiningQuery and no element exists in the element to support the current operation.
Table don't have a primary key.. add primary and update edmx..
Thursday, April 7, 2022
unable to check out the current file. the file may be read only or locked
Goto tools > Options > Source Control > Current source control plug- in select None and try to add service Or project run in admin mode and add.. it will work
Tuesday, November 2, 2021
Friday, August 6, 2021
How to Count Total Number of HIT in Asp.net MVC?
Applicatin_start()
Application.Lock();
Application["Totaluser"] = (int)Application["Totaluser"] + 1;
Application.UnLock();
Friday, July 23, 2021
Monday, February 1, 2021
Cannot drop database "abc" because it is currently in use.
We will face the problem:
USE TEstDb; DROP DATABASE TEstDb; |
Solution:
Use Master
DROP
DATABASE
TEstDb
Tuesday, September 8, 2020
Reading Excel From C# using OLEDB Connection
First, You need to add below name spaces to read Excel file in OLEDB
Monday, September 7, 2020
Solid Principles in C#
The SOLID Design Principles and Design Patterns play an important role in achieving all of the above key points.
The SOLID Design Principles are the design principles that help us to solve most of the software design problems. These design principles provide us with multiple ways to move the tightly coupled code between the software components which makes the software designs more understandable, flexible, and maintainable.
S stands for the Single Responsibility Principle which is also known as SRP.
O stands for the Open-Closed Principle which is also known as OSP.
L stands for the Liskov Substitution Principle which is also known as LSP.
I stand for the Interface Segregation Principle which is also known as ISP.
D stands for Dependency Inversion Principle which is also known as DIP.