Skip to main content

ASP.Net Core Configuration with Node Configuration

ASP.Net Core Configuration-

=> Create Empty Project in Visual Studio

=> Startup Class Updates - 
 Add a sample index page create and move to wwwrootfolder to test the application 

=>add npmconfigurationfile package.json
Open the Package.json to add properties in the dependency (development environment) node

After save it’s create a folder in the project root directory

=>create Controller in the root folder Controllers/AppController/Action

·         ContactPage,Homepage
For working the Controller Configure the Routing in Startupclass

Create Layout
=>add view start it’s a default render layout for all the nodes



 =>View imports to add all the dependencies with viewModels,Controllers..etc

_Layout Confguration


Contact .cshtml(Post method)  


Service Configuration in MVC





Comments

Popular posts from this blog

Compile a VBScript into an EXE – iExpress

Sometimes you need to compile a vbscript into an EXE. There are a few applications that allow you to do this, however there is one already installed on the windows build called  iExpress . Before using this, you need to make sure your script works and launches what it is supposed to. E.g. if it launches Internet Explorer with a specific URL. Go to start menu > run and type  iExpress  and press enter. Next > until you are on  Package title . Here enter a title for your exe. Next > No prompt.  Next > Do not display a license.  Next > Add –  Here you will browse to your vbscript .  Next > In the install program section, you need to point to cscript.exe as this is what will run your script. So enter  C:\Windows\System32\cscript.exe “enter vbscript here.vbs” .  Next > Hidden.  Next > No message.  Next > Here you will select where you want to save your EXE files. Then ...

How to execute Python Script in PyCharm-Configuration

How to install .Net Framework 3.5 in windows 10 machine

Symptoms- Mostly SQL-server Installation interrupted with .net Framework dependency NDF Package required .net 3.5 Package Dependency Exception Found  Workaround- Mount Installed Current OS version  (win 10-Rs2 || RS3 || RS4 || RS5) from the Host Drive Open Command Prompt- -Note: In the PowerShell command the source name should be Mount driver letter(F) commands- dism.exe /online /enable-feature /featurename:NetFX3 /Source:F:\sources\sxs /LimitAccess