Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "mikeb"

Thank you, that's exactly what I was looking for. :)

I'm creating a web version of a desktop application that deals with financial information. The desktop application allows the user to load the financial scenario information, and then edit this information along with viewing reports based on calculations utilising this information. So for the web version there will always be a 'current financial scenario' selected, and this scenario is in JSON format. All editing (list views and detail views) is based on the contents of this JSON data. The calculation module takes as an input this JSON data, and then provides various calculated results, some of which are relatively resource-expensive to derive.

My question is then - how to maintain on a per-session (per logged-in-user) the JSON information, within the ASPNetZero infrastructure? I've looked at using a more general session approach (with SQL Server caching), but obviously I would prefer something that works within ASPNetZero, and also I couldn't work out how to get the cached information into the services in Application from the Web.MVC application.

I am very new to ASPNetZero, so I guess there is something I'm overlooking here, any help would be appreciated, thanks!

Answer

Nope, but I had noticed SignalR had made alpha: <a class="postlink" href="https://blogs.msdn.microsoft.com/webdev/2017/09/14/announcing-signalr-for-asp-net-core-2-0/">https://blogs.msdn.microsoft.com/webdev ... -core-2-0/</a>

Looking through the AspNetZero code, they've used a #FEATURE_SIGNALR directive to comment out the SIGNALR-dependent features. I guess one way forward is to install the SignalR alpha package, define FEATURE_SIGNALR, fix any compilation issues and see if the built-in functionality (chat etc) can be made to work. I am keen to get SignalR happening with Core 2.0, but have other priorities right now. I'll post back if I get a chance to work on this, but otherwise maybe a ANZ support person could post here what with their intentions are on this front - please? :)

Hi - as I mentioned above above I'm using VS2017 15.3.3, but there I updated to 15.3.4 today and haven't tried again since then - could it make a difference?

Sure!

I just now tested a download ASP.NET Core MVC + jQuery, along with .NET Core 2.0, and that compiles fine with just a handful of warnings, so all good; I re-installed the .NET Core 2.0 SDK, as it appeared I had some issues with the initial install there. BTW I'm using VS 2017 15.3.3 also.

However for: ASP.NET MVC5.x & jQuery v4.5.1 .Net Framework 4.6.1 ... I get these warnings upon opening the solution from the extracted contents of the ZIP file in the first attachment "OnLoading.png". I then build, and get the "OnBuilding.png" results. Let me know if there's more I can do to help.

Same occurs for me. As a new purchaser of Aspnetzero I was kind of expecting the initial download to compile without errors, but there seems to be issues surrounding .NET version issues that need resolving.

Showing 1 to 6 of 6 entries