Click here to Skip to main content
14,268,955 members

Web Development

 
AnswerMessage Closed Pin
16-May-19 9:35
memberMember 1437530116-May-19 9:35 
QuestionHow To Run Website Without Web Hosting Pin
Kamakoti Satish Kumar23-Apr-19 1:13
memberKamakoti Satish Kumar23-Apr-19 1:13 
AnswerRe: How To Run Website Without Web Hosting Pin
#realJSOP23-Apr-19 5:28
mve#realJSOP23-Apr-19 5:28 
AnswerRe: How To Run Website Without Web Hosting Pin
Nathan Minier23-Apr-19 18:53
professionalNathan Minier23-Apr-19 18:53 
AnswerRe: How To Run Website Without Web Hosting Pin
Rajesh Murthy S15-May-19 19:48
memberRajesh Murthy S15-May-19 19:48 
QuestionFlask/React/Mongo - Clues, hints, tips or gotchas Pin
Nagy Vilmos16-Apr-19 22:43
professionalNagy Vilmos16-Apr-19 22:43 
QuestionRazor Pages and Layout.cshtml Pin
Mycroft Holmes16-Apr-19 22:23
memberMycroft Holmes16-Apr-19 22:23 
AnswerRe: Razor Pages and Layout.cshtml Pin
Maciej Los16-Apr-19 23:17
protectorMaciej Los16-Apr-19 23:17 
Not sure, but it seems to be not reasonable at all... Imagine, you may want to use view, which does not need such of script...

I'd follow MSDN documentation, which states that it's better to use Sections.

So, in a layout:
@RenderSection("Scripts", false)

In a view:
@section Scripts {
    <script type="text/javascript">   
        //your script here
    </script>
}

GeneralRe: Razor Pages and Layout.cshtml Pin
Mycroft Holmes19-Apr-19 15:35
memberMycroft Holmes19-Apr-19 15:35 
AnswerRe: Razor Pages and Layout.cshtml Pin
#realJSOP22-Apr-19 2:50
mve#realJSOP22-Apr-19 2:50 
GeneralRe: Razor Pages and Layout.cshtml Pin
Member 143592847-May-19 16:45
memberMember 143592847-May-19 16:45 
QuestionFatal error: Uncaught Error: Call to a member function prepare() Pin
Member 1426306215-Apr-19 20:49
memberMember 1426306215-Apr-19 20:49 
AnswerRe: Fatal error: Uncaught Error: Call to a member function prepare() Pin
Richard MacCutchan15-Apr-19 21:25
protectorRichard MacCutchan15-Apr-19 21:25 
QuestionCan I put SQLite database in a folder before root folder(public-html folder where index.php file could be placed in) of server and give the database folder full time read and write access permission? Pin
AndroidVH13-Apr-19 18:15
memberAndroidVH13-Apr-19 18:15 
QuestionMVC5 New Controller/View gives 404 Pin
#realJSOP12-Apr-19 1:56
mve#realJSOP12-Apr-19 1:56 
AnswerRe: MVC5 New Controller/View gives 404 Pin
Richard Deeming15-Apr-19 8:34
mveRichard Deeming15-Apr-19 8:34 
GeneralRe: MVC5 New Controller/View gives 404 Pin
#realJSOP15-Apr-19 8:44
mve#realJSOP15-Apr-19 8:44 
QuestionHow to download and save multiple files into the same folder with reactjs Pin
asb1469010-Apr-19 21:43
memberasb1469010-Apr-19 21:43 
QuestionWeb API Security Pin
Kevin Marois3-Apr-19 9:43
professionalKevin Marois3-Apr-19 9:43 
AnswerRe: Web API Security Pin
Vinod Jangle4-Apr-19 9:52
memberVinod Jangle4-Apr-19 9:52 
QuestionMVC5 validation decoration Pin
#realJSOP1-Apr-19 0:55
mve#realJSOP1-Apr-19 0:55 
AnswerRe: MVC5 validation decoration Pin
#realJSOP1-Apr-19 2:07
mve#realJSOP1-Apr-19 2:07 
GeneralRe: MVC5 validation decoration Pin
malkovich198823-Apr-19 5:08
membermalkovich198823-Apr-19 5:08 
QuestionIs there a basic HTML scripts bundle for VS code and none serve application? Pin
maze327-Mar-19 5:05
professionalmaze327-Mar-19 5:05 
AnswerRe: Is there a basic HTML scripts bundle for VS code and none serve application? Pin
Shmuel Zang28-Mar-19 4:08
memberShmuel Zang28-Mar-19 4:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.