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

How to execute Python Script in PyCharm-Configuration

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 ...