,between first and second while it should have stopped there
Hi. Having trouble downloading from https://download.visualstudio.microsoft.com/
Can someone confirm if it the same behaviour from their end?
All SDK downloads wont start
Can anyone point me in a direction to why this gives the error "no overload for method 'SingleOrDefault' takes two arguments)"? (The db is of ApplicationDbContext)
public async Task<User> FindByNameAsync(string normalizedUserName, CancellationToken cancellationToken)
return await db.Users
.SingleOrDefault(p => p.UserName.Equals(normalizedUserName, StringComparison.OrdinalIgnoreCase), cancellationToken);
return await db.Users .AsAsyncEnumerable() .SingleOrDefault(p => p.UserName.Equals(normalizedUserName, StringComparison.OrdinalIgnoreCase));
i need some info about a software.
this is the link below:
i want to know is it possible to make this kind of software using c# .Net.
if it's possible then can you guide me how should i approach to built this software.
i'm very interested to build this application as from this software experience i'm sure that i'm going to learn a whole new things and experience.
So, please guide me if you could.
i need two main features in my application:
1- get all teeth size data of upper and lower jaw by scanning. this is the camera i'll use ==> https://www.ximea.com/usb3-vision-camera
2- generate 3d model of upper and lower jaw teeth depending on step-1 data.
Note: if any tooth is missing then software will be able to reconstruct it during the 3d model.
i want to know which tools, languages other than .net,and technologies or SDKs will be needed in this project.
i've heard python will be good for getting data by scanning but after that what should i do in next step.
there are so many info i've searched on internet but those infos making me more confused because i don't know what exactly i need to do in this application. there are CAD/CAM SDKs option but don't know which one is right for me and compatible with .net.
I would really appreciate the help.
at Microsoft.AspNetCore.Http.Features.FeatureReferences`1.Fetch[TFeature](TFeature& cached, Func`2 factory) at Microsoft.AspNetCore.Http.DefaultHttpResponse.get_HasStarted() at Microsoft.AspNetCore.Http.HttpResponseWritingExtensions.WriteAsync(HttpResponse response, String text, Encoding encoding, CancellationToken cancellationToken)
I'm trying to deploy a site using MSDeploy, but I'm having an issue when the files/folders are being added
Info: Adding file (DashboardTesting\Client\assets\). Error: (2021/07/07 09:33:26) An error occurred when the request was processed on the remote computer. Error: An error was encountered when processing operation 'Create File' on 'C:\inetpub\wwwroot\DashboardTesting\Client\assets\'. Error: The error code was 0x8007007B. Error: The path 'C:\inetpub\wwwroot\DashboardTesting\Client\assets\' is not valid. at Microsoft.Web.Deployment.NativeMethods.RaiseIOExceptionFromErrorCode(Win32ErrorCode errorCode, String maybeFullPath) at Microsoft.Web.Deployment.FileStreamEx.CreateInstance(String path, FileMode fileMode, FileAccess fileAccess, FileShare fileShare, Nullable`1 fileLength) at Microsoft.Web.Deployment.FilePathProviderBase.Add(DeploymentObject source, Boolean whatIf) Error count: 1.
I'm not sure why it's specifying that the asset folder is a file, but it should create it as a directory.
Does anyone know where I can start looking?
-allowUntrusted -dest:contentPath='DashboardTesting',authtype=basic,userName=username,Password=password,computerName=https://SERVERURL.COM:8172/msdeploy.axd?site=DashboardTesting -source:package='deploy.zip' -verb:sync -retryInterval:100
Under NET6 preview 5:
In startup, I register a singleton service:
services.AddSingleton(c => new MyService());
I have a line that injects this service in a razor file:
@inject MyService service;
When I run the project under VS (debug) all is good.
But when I run the same project as
dotnet watch run, the IOC container complains that it cannot resolve the service inside the razor file:
InvalidOperationException: No service for type 'Project.MyService' has been registered
What could cause this difference and error in the first place under
dotnet watch run ?