3479 1
How to deploy MVC 4 Razor ASP.NET website on somee.com?

I am trying to deploy sample website on somee.com using free hosting.

First I published my website as a folder.  

1. I created new free hosting domain on somee.com, then after logging in proceeded to file manager ->

2. Then I make a zip folder for my published website folder

3. Then I upload the zip folder and select upload and unzip archives

4. I have add the default document inside web.config like that 

<?xml version="1.0" encoding="UTF-8"?> 
    <configuration> 
        <system.webServer> 
            <defaultDocument> 
                <files> 
                    <add value="index.aspx" /> 
                </files> 
            </defaultDocument> 
        </system.webServer> 
    </configuration>

5. Now this is my root folder file structure

...

Type
Question
3448 2
How to get notified when a row is added in SQL Server database using asp.net core 2?

Hi, how can I get notification when a new row is added in the database using asp.net core 2.

For example, I have table Posts and have 4 posts, and when the table contains the new post ( post 5) I will get a notification to my view in asp.net core2 says that the new post added. Thanks.

...
Type
Question
3419 3
Cannot find the check box for enabling SSL in visual studio 2017 (ASP.NET Core project)

Hi, I want to enable SSL for my ASP.NET Core project in Visual studio 2017, but when I'm checking my visual studio project to enable SSL, it looks like this in properties

...

Type
Question
3358 0
C# FromQuery Example in ASP.NET Core API
In this article, I have explained what is FromQuery and how we can use it in ASP.NET Core Web API to get values from query string.
Type
Article
3358 0
Difference between Visual Studio Build, Re-build and Clean, solution
In this article, I have provided explanation of what is difference between Visual Studio clean, build and re-build options and when to use them.
Type
Article

3313 1
how can i simplify url in .NET MVC?

How can I simplify the url to http://localhost:51675/Prescriptions/Create/12 instead of http://localhost:51675/Prescriptions/Create?AssessmentID=12.
currently i am using this code

...
Type
Question
3296 1
How to show Crystal report for two tables related by foreign key?

I have two tables tbl_employee and tbl_department. I want to show a crystal report for employee information where department name should be there. When I am trying to show the report only for the employee table it is working fine but when I am joining these two tables with key in crystal report design, logon error exception is shown. 

...

Type
Question
3216 1
Need boiler plate ebook or demo

I want ebook or demo of asp.net boilerplate but do not paste home page(https://aspnetboilerplate.com/) of boilerplate.

thank you very much!!

...
Type
Question
3206 2
How to add the SignalR client library in ASP.NET Core 2?

Hi, I'm using SignalR with .net core2 in Visual studio 2017 to send message to all users. But I don't know how can I add the SignalR client library.

My current javascript code is :

<script src="Scripts/jquery-1.6.4.min.js"
type="text/javascript"></script>
<script src="Scripts/jquery.signalR-0.5.2.min.js"
type="text/javascript"></script>
<script src="signalr/hubs" type="text/javascript"></script>
<script type="text/javascript">

var myHubProxy = $.connection.hub.CreateHubProxy("MyHub");
myHubProxy.on('ClientsListener', function (msg) {
// alert to test
alert(' message from server');
//$("#messageDisplay").text(msg);
})
$.connection.hub.start().done(function () {
myHubProxy.Invoke('MyServiceFunction');
})

</script>

In Which my project not contains those scripts :

<script src="Scripts/jquery-1.6.4.min.js"type="text/javascript"></script>
<script src="Scripts/jquery.signalR-0.5.2.min.js"type="text/javascript"></script>
<script src="signalr/hubs" type="text/javascript"></script>

Please how can add the SignalR client library. I was try this : But I remarked  no file clled Client_side library to add it .

...

Type
Question
3201 2
How to write HTML5 data-atrribute in Razor MVC C#?

I am trying to specify HTML5 data-atrribute in my asp.net MVC razor code like below

 @Html.DropDownListFor(m => m.Industry, OnePassV3.utility.OptionList.GetIndustryListSelectList()
                           , new { @class="cs-select cs-skin-slide cs-transparent", @data-init-plugin="cs-select" })

but i am getting error as you can see below in the image.

...

Type
Question

Page 25 of 31