Base solution for your next web application

Activities of "ninomartini"

Answer

Yes, the database was created. After seeing the warnings I thought there was an issue and didn't bother to refresh the database list.

Thank you for the prompt reply.

Question

I have a fresh VS2017 setup. The same computer has VS2015 installed.

During installation I selected the .NET Core cross-platform development workload.

When I try to build the server application (v3.3) I get conflicts between different versions of the same dependent assembly (see attachment BuildWarnings.txt).

I am also unable to successful build the initial database (see attachment EfCapture.txt).

Did I miss something during the VS2017 setup? Any assistance is appreciated.

Thank you in advance, Nino Output.zip

Answer

Yes, I had it working before and I just resolved the issue and wanted to share how it was solved.

To find the problem I turned off CustomErrors from the Web.config in the Web project to get a more detailed description of issue. From the detailed error message I learned the issue was related to my code having duplicate schemaIds.

Thank you for your assistance.

Question

I am using v1.13.0.0 MVC/Angular version of ASP.NET Boilerplate.

When I try to navigate to <a class="postlink" href="http://localhost:44371/swagger/ui/index">http://localhost:44371/swagger/ui/index</a> I get a swagger Error 500.

500 : {"message":"An error has occurred."} <a class="postlink" href="http://localhost:44371/swagger/docs/v1">http://localhost:44371/swagger/docs/v1</a>

In the debug console there is a message "Unable to Load SwaggerUI" index:136 coming from <a class="postlink" href="http://localhost:44371/swagger/ui/index.js">http://localhost:44371/swagger/ui/index.js</a>

Do you know what I have missed? Any suggestions I can try?

Thank you in advance.

Answer

Thank you for the link, most helpful.

Question

In the ASP.NET MVC 5/Angular project, the Dynamic Web Layer automatically created API controllers. Every call had a request method of POST. In the ASP.NET Core/JavaScript project it appears we have a mix of POST, PUT and DELETE. Is there a naming convention in place here one should follow?

Thank you in advance, Nino

Answer

Thank you for the explanation.

Answer

I am sorry for the disconnect and I will try better to explain by asking the question differently.

Instead of displaying the list of timezones as:

 (UTC-07:00) Arizona
 (UTC-07:00) Chihuahua, La Paz, Mazatlán
 (UTC-07:00) Mountain Time (US & Canada)

Can we display them using the Moment abbreviated time zone names:

 America/Chihuahua
 America/Denver
 America/La_Paz
 America/Phoenix
Answer

Thank you for your response. I am surprised Moment Timezone was not used for this feature. Was there a reason not to use it? How difficult would it be to switch to Moment Timezone or make Moment Timezone an option?

Question

Does the new TimeZone Management feature in v1.10 account for daylight savings?

Showing 1 to 10 of 17 entries