Posts

Session Management With State Server Mode For Distributed Environment

Image
1.     Go in services.msc window of your server or local machine as per need. Window key + R à type services.msc and enter. Now, start ASP.NET State Server service by right click, click start as below. 2.       Now, Make some changes in web.config file of your project as below. a.    Change session mode into StateServer. b.    Add stateConnectionString = " tcpip=yourIpAddress:PortNo ". Port will be 42424 only.            For local add tcpip=localhost:42424 in                               stateConnectionString as below Now, we are ready to store session with State Server mode.

Setup Angular 4.2.4 with Visual studio code using Angular CLI

1.      Install Visual studio code with your machine. https://code.visualstudio.com/ 2.      Install latest version of Node.js for window 64 bit with your machine https://nodejs.org/en/download/ 3.      Now go with command prompt and check node and npm version installed for cross check after installation. Use below commands and press enter to see version details node -v               example: 5.3.0 npm -v              example: v8.4.0 4.        Now, install Angular CLI globally. Go with command prompt and use below command & press enter npm install -g @angular/cli 5.         After CLI installation, we are ready to create new project. Now, go with local directory in which you want to create your proj...