Base solution for your next web application

Activities of "piapps"

That worked thanks, better yet after setting that change to the factory I have gone into properties of the EFCore project and set the environment variable in there so it remembers between Visual studio sessions (same as the host project)

Thanks again

Hi again,

Sorry I should have been clearer in my response yesterday.

I have tried both the following and they dont work

set ASPNETCORE_ENVIRONMENT=Development

and

$env:ASPNETCORE_ENVIRONMENT='Development'

Neither using set or $env = seemed to work, any other ideas?

Hi guys,

I have added an appsettings.Development.json file to my Web.Host project for use on my local machine which works fine.

However the EntityFrameworkCore project must not use the file because whenever I do Update-Database it fails (unable to find sql instance) unless I put the correct conn string back into appsettings.json.

How or where can I adjust the connection string resolver so that .Development will be respected by migrations?

Im using v6.8.0

Regards, Pete

Thanks for confirming!

Hi guys,

We have an extension to one of our Zero projects that might benefit from using the MVC site however we mainly run the angular version.

If I generate a MVC/jquery project can I just grab the MVC project from inside that, import it into the larger angular/web api project and update dependancy locations and the MVC site should just function?

Alternatively is there any way to do this? We still havent decided if this is the way we want to go just yet but I am interested in knowing if its possible

Obviously there is already the public site in the angular project however it doesnt really integrate with any of the services by default hence the question

Thanks

I have an older version running (4.3 i think) running through DevOps pipeline to 2 Azure app services with a few bonus steps needed once deployed that I have yet to figure out when I have some time but i cant imagine the newer versions being any more difficult if you need help?

The DevOps pipeline can be treated as your home machine so if you can compile and deploy on your machine the steps are largely the same it can just seem more confusing. I would be happy to provide some guidance if needed.

Answer

Thanks @ismcagdas thats what I expected!

Question

Hi guys,

Just wondering with an enterprise license if we use one of the slots for a clients project and then at some point later in the future if they want to break relations can they take ownership of the license as long as they only assign whatever free developer slots that are left to that new license?

Or would it be better that at that point they purchase their own license then create a project with same name and basically get 'granted' the rights to the project?

Regards, Pete

Answer

If * as the CORS setting works, it means you current CORS config is probably slightly wrong

Can you try a few other combinations in the CORS origin to see if you can find the offending one?

For example in your log it is failing on <a class="postlink" href="http://demo.host.xugo.com.au/">http://demo.host.xugo.com.au/</a>

So you will need a CORS entry for that, as far as i am aware, TENANCY NAME works by replacing that var for the server address in the .json. So if its set to {TENANCY_NAME}.host.xugo.com.au and you visit demo.portal.xugo.com.au then angular will be asking for demo.host.xugo.com.au

If that makes sense?

Showing 11 to 20 of 25 entries