[SOLVED] Project Url

Answered Closed
0
0

Hi,

Everytime I create a new project, it generates the same Project Url in Project Properties as http://localhost:53799 so that I have to adjust is manually. Am I missing something?

Thanks

Cris

  • You must to post comments
Best Answer
0
0

Hi Cris, Tiago,

this is fixed in 1.1.98.0 that has just been uploaded.

Best regards
Frank

  • You must to post comments
1
0

Thanks. It’s WJ-7277, fixed. Will be in the next update tonight.

  • You must to post comments
0
0

I tested with 1.1.95.0.

When I add a new Wisej Web Application, all projects are created with the same Project Url http://localhost:53799/

When I add a new project ASP.NET Web Application, I always get a different port number (eg. http://localhost:6803/, http://localhost:6815/, etc).

  • You must to post comments
0
0

Hi Luca,

Yes, it’s about the port number when creating a new project. I tested in MVC 5 & 6 and each new project generates  a unique port number.

Thanks,

Cris

  • You must to post comments
0
0

You mean the port? It’s probably stuck in the template. Will fix.

For the path, Wisej supports multiple entry points:

  • By default, when you create a new project, it will create Defult.html/Default.json as the default document – http://localhost/
  • You can rename Default.html/Default.json to something else, like MyApp.html/MyApp.json (change the html reference in MyApp.json) and now your app will respond to http://localhot/myapp
  • You can add additional entry points (sub applications) within the same project: Add->New Item->Sub Application. It will create a new SecondApp.html/SecondApp.json/SecondApp.cs. SecondApp.cs is the second entry point replacing Program.cs which is the default.

Sub projects only share code. They do not share the session.

Best,

Luca

  • You must to post comments
Showing 5 results