شروع به کار با Visual Studio 2017
Ready to get started with Visual Studio 2017? This is your course! Join the experts and get the details, from installation to debugging, in this practical Visual Studio 2017 deep dive.
See how to download and install Visual Studio in standalone and networked environments, along with some of the configuration options, such as choosing your workloads (types of apps or services, languages, and platforms), customizing the installation, and installing language packs. Then, take a tour of the Visual Studio IDE, including all the basics you need to get started with your development projects. Finally, explore debugging in Visual Studio, and learn how to use its features to investigate problems in your code.
خطا و راهنمایی
Error1The type or namespace name 'PdfReportSamples' could not be found (are you missing a using directive or an assembly reference?)...\pdfreport6797\Samples\WebAppTests\Default.aspx.cs37WebAppTests Error2The type or namespace name 'PdfReportSamples' could not be found (are you missing a using directive or an assembly reference?)...\pdfreport26797\Samples\WpfAppTests\MainWindow.xaml.cs27WpfAppTests Error3The type or namespace name 'PdfReportSamples' could not be found (are you missing a using directive or an assembly reference?)...\pdfreport26797\Samples\WindowsFormsAppTests\Form1.cs27WindowsFormsAppTests
Warning4The primary reference "...\pdfreport26797\Samples\PdfReportSamples\bin\Debug\PdfReportSamples.dll" could not be resolved because it has an indirect dependency on the framework assembly "System.Windows.Forms.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v3.5". To resolve this problem, either remove the reference "...\pdfreport-26797\Samples\PdfReportSamples\bin\Debug\PdfReportSamples.dll" or retarget your application to a framework version which contains "System.Windows.Forms.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35".WindowsFormsAppTests
Rider 2018.3 منتشر شد
Rider 2018.3 comes with Code Vision, Rename Project refactoring, and the Assembly Explorer window. It provides support for remote debugging via SSH, Launch Settings and SQL language injections in C# code. This release improves C#, VB.NET, F#, TypeScript language support, and Angular framework support.
معرفی کتابخانه DNTCommon.Web.Core
Some services are not able to be constructed (Error while validating the service descriptor 'ServiceType: DNTCommon.Web.Core.IBackgroundQueueService Lifetime: Singleton ImplementationType: DNTCommon.Web.Core.BackgroundQueueService': Unable to resolve service for type 'DNTCommon.Web.Core.IJobsRunnerTimer' while attempting to activate 'DNTCommon.Web.Core.BackgroundQueueService'.)
سلام
جهت استفاده از اطلاعات موجود در Session بصورت زیر در program فعال کردم:
builder.Services.AddSession(options => { options.IdleTimeout = TimeSpan.FromSeconds(30); options.Cookie.HttpOnly = true; options.Cookie.IsEssential = true; }); app.UseSession();
در زمان اجرا پیغام خطای زیر زیر صادر شده:
'Some services are not able to be constructed (Error while validating the service descriptor 'ServiceType: Microsoft.AspNetCore.Session.ISessionStore Lifetime: Transient ImplementationType: Microsoft.AspNetCore.Session.DistributedSessionSto re': Unable to resolve service for type 'Microsoft.Extensions.Caching.Distributed.IDistrib utedCache' while attempting to activate 'Microsoft.AspNetCore.Session.DistributedSessionSt ore'.)'
آنچه که متوجه شدم باید کتابخانه Microsoft.Extensions.Caching.StackExchangeRedis نصب شود.
سوالم اینه که آیا نصب کتابخانه دوم ضروریه؟
من مطلب جالبی از نویسنده کتاب Asp.net MVC خواندم که طبق تحقیقات انجام شده توسط ماکروسافت است:
اونها به Asp.net عبارت Bloated را دادند و این به این معنی است:
The term bloated is often thrown at frameworks or technologies that either:
People don’t understand or aren’t completely aware of and don’t want to take the time to learn
Come from a provider people don’t respect or like
People have heard bad things about
Are actually bloated
و این نظریه که اغلب مردم نسبت به Asp.net Ajax دارند.