Hello,
I just fixed the issue at my level as I mentioned on Github : <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/827">https://github.com/aspnetzero/aspnet-ze ... issues/827</a>
Mainly you should set the IsPullToRefreshEnabled value to "true" instead of binding it to "{Binding IsNotBusy}" in the UsersView.xaml file.
Also I fixed the other big annoying issue: "Erratic jumps to the top of the list when lazy-loading new records" (see GitHub post)
Finally I would highly recommend to flow the following implementation of ListView scrolling using behaviors, (instead of the current hack that uses code behind binding)
here is the link :
<a class="postlink" href="http://rasmustc.com/blog/Infinite-ListView-Scrolling-With-Behaviors/">http://rasmustc.com/blog/Infinite-ListV ... Behaviors/</a>
Thank you very much
Please let me know if you have any update on this.
PS : This bug is making the app very unstable and thus not viable to use.
Hello ,
It it very easy to reproduce actually. Maybe I miss expressed the steps to follow.
What you should do first is to go the <ins>last element in the list.</ins>
In other words:
1 - Scroll down (which means move the list up with your mouse until your reach the last element of the list)
at this step the list starts to refresh it self ( from the fact that you reached the bottom side. But doesn't necessarily crash yet) 2 - Scroll back the opposite side (move the list down with your mouse until you see the top element - exactly as what you are doping in your reply video ) and continue to do so let say 5 - 10 times max
After you make it crash once. It will crash much more quickly the subsequent times (until just one repetition would crash the app)
Please don't forget to have more than 10+ users in your list.
*** Please see the attached gif in my replay on github thread (too large to be attached here)
<a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/827">https://github.com/aspnetzero/aspnet-ze ... issues/827</a>
Thank your very much
Great! I'll be flowing it on Github then. Thank you very much
Now I am getting this error when I try to install the package
(Note: I have selected from on download page * Framework (required) --> .NET Framework 4.6.1 | NOT --> .NET Core 1.1)
(I also tried by upgrading from .NET Framework 4.6.1 to .NETFramework,Version=v4.7 )
I am getting the flowing error message with both .NET Framework 4.6.1 and 4.7
PM> Install-Package Microsoft.AspNetCore.Server.Kestrel -Pre
Restoring packages for P:\AspNetZero\cmpcore\aspnet-core\src\cmpcore.Web.Host\cmpcore.Web.Host.csproj... GET <a class="postlink" href="https://api.nuget.org/v3-flatcontainer/newtonsoft.json/index.json">https://api.nuget.org/v3-flatcontainer/ ... index.json</a> OK <a class="postlink" href="https://api.nuget.org/v3-flatcontainer/newtonsoft.json/index.json">https://api.nuget.org/v3-flatcontainer/ ... index.json</a> 136ms GET <a class="postlink" href="https://api.nuget.org/v3-flatcontainer/newtonsoft.json/5.0.1/newtonsoft.json.5.0.1.nupkg">https://api.nuget.org/v3-flatcontainer/ ... .0.1.nupkg</a> OK <a class="postlink" href="https://api.nuget.org/v3-flatcontainer/newtonsoft.json/5.0.1/newtonsoft.json.5.0.1.nupkg">https://api.nuget.org/v3-flatcontainer/ ... .0.1.nupkg</a> 29ms
[**** Here Starts the red highlight until the end *****]
Install-Package : Package Microsoft.AspNetCore.Server.Kestrel 2.0.0-preview1-final is not compatible with net47 (.NETFramework,Version=v4.7). Package Microsoft.AspNetCore.Server.Kestrel 2.0.0-preview1-final supports: netcoreapp2.0 (.NETCoreApp,Version=v2.0) At line:1 char:1
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : One or more packages are incompatible with .NETFramework,Version=v4.7. At line:1 char:1
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : Package Microsoft.AspNetCore.Server.Kestrel 2.0.0-preview1-final is not compatible with net47 (.NETFramework,Version=v4.7) / win7-x86. Package Microsoft.AspNetCore.Server.Kestrel 2.0.0-preview1-final supports: netcoreapp2.0 (.NETCoreApp,Version=v2.0) At line:1 char:1
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : One or more packages are incompatible with .NETFramework,Version=v4.7 (win7-x86). At line:1 char:1
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Install-Package : Package restore failed. Rolling back package changes for 'cmpcore.Web.Host'. At line:1 char:1
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
" Can you try to update it's version to 2.0.0-preview1 and see if it works ? "
Could you please tel me the specific steps to that ? (Should I install something on my machine ?, Nuget something ? , manually substitute a dll into my solution ? )
(I found github source code here on " <a class="postlink" href="https://github.com/aspnet/KestrelHttpServer/releases">https://github.com/aspnet/KestrelHttpServer/releases</a>" but it's not compiling out of the box)
Do I need to install/update anything related to .NET Core /.NET Core 2.0.0 Preview 1 as well ?
If so please let me know the specifics steps to do that as well
Thank you for your help
Hello,
Trying with admin account didn't work. Trying on different machine worked but still need to make it work on my main development machine.
I tried updating the .Net Framework on my machine to .NET Framework 4.6.2 and then to .NET Framework 4.7 And also added some attributes to catch the exception details.
At first I got this message :
Managed Debugging Assistant 'FatalExecutionEngineError' : 'The runtime has encountered a fatal error. The address of the error was at 0x70c5f13b, on thread 0x2338. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.'
Now I am getting this message (copied from Visual Studio debugger)
e.Message
One or more errors occurred.
e.StackTrace
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Internal.KestrelEngine.Start(Int32 count) at Microsoft.AspNetCore.Server.Kestrel.KestrelServer.Start[TContext](IHttpApplication`1 application) at Microsoft.AspNetCore.Hosting.Internal.WebHost.Start() at Microsoft.AspNetCore.Hosting.WebHostExtensions.Run(IWebHost host, CancellationToken token, String shutdownMessage) at Microsoft.AspNetCore.Hosting.WebHostExtensions.Run(IWebHost host) at cmpcore.Web.Startup.Program.Main(String[] args)
e.InnerException.Message
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
e.InnerException.StackTrace
at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.NativeMethods.uv_loop_init(UvLoopHandle handle) at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.loop_init(UvLoopHandle handle) at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvLoopHandle.Init(Libuv uv) at Microsoft.AspNetCore.Server.Kestrel.Internal.KestrelThread.ThreadStart(Object parameter)
e.InnerException.Source "Microsoft.AspNetCore.Server.Kestrel"
e.InnerException.Source.TargetSite
{Int32 uv_loop_init(Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvLoopHandle)}
Please advise,
I still not able to use your product since more the a month of trying every day .., it's becoming a bit urgent for me to getting work,
Thank you for your assistance
Nothing conclusive on the internet so far.
More details:
I also get this error otherwise ( If I don't get the memory message I'll see the flowing one )
" The following error occurred when trying to configure IIS Express for project myProjectName.Web.Host.Filename: \?\D:\MyProjectFolder\aspnet-core.vs\config\applicationhost.config Error: Cannot read configuration file "
Also I've downloaded and run ASP.NET Boilerplate Framework with no issue from the first shot on the same Visual Studio 2017 and same Windows 7 machine.
Also I re-downloaded you package several times and restarted new project form scratch each time, with multiple machine restarts.
Yet I had no luck to run your project, even though ASP.NET Boilerplate works out of the box form the first time.
Please advise,
Thank you very much