اشتراک‌ها
افزونه‌ای برای پیش‌نمایش خروجی مرورگر داخل VSCode به همراه قابلیت دیباگ

Browser Preview for VS Code enables you to open a real browser preview inside your editor that you can debug. Browser Preview is powered by Chrome Headless, and works by starting a headless Chrome instance in a new process. This enables a secure way to render web content inside VS Code, and enables interesting features such as in-editor debugging and more! 

افزونه‌ای برای پیش‌نمایش خروجی مرورگر داخل VSCode به همراه قابلیت دیباگ
اشتراک‌ها
5 دلیلی که زامارین توسعه برنامه های موبایل را تغییر خواهد داد

If you haven’t tried Xamarin yet, now is the time! Read this free white paper from Syncfusion to learn how Xamarin can improve your cross-platform development:

  • Deliver apps faster by sharing code across platforms, using one code base and UI.
  • Use best-in-class development tools, like Visual Studio.
  • Produce genuine native apps that don’t compromise the end user experience.
  • And more! 
5 دلیلی که زامارین توسعه برنامه های موبایل را تغییر خواهد داد
نظرات مطالب
اجرای وظایف زمان بندی شده با Quartz.NET - قسمت اول
سلام.
من کدهای زیر رو در رویداد کلیک یک دکمه نوشتم که کاربر با کلیک دکمه اقدام به ارسال ایمیل به صورت گروهی می‌کنه.
حالا یکی از کاربرا با این ارور مواجه شده
Unable to store Job: 'DEFAULT.SendJob', because one already exists with this identification.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Quartz.ObjectAlreadyExistsException: Unable to store Job: 'DEFAULT.SendJob', because one already exists with this identification.

Source Error:


Line 374: .Build();
Line 375:
Line 376:   sched.ScheduleJob(job, trigger);
Line 377:
که البته من متوجه شدم دلیل این به خاطر اینه که هنوز جاب قبلی پایان نیافته کاربر دوباره روی دکمه کلیک می‌کنه و چون هنوز جاب قبلی اتمام نیافته با این ارور مواجه میشیم. بنابراین من یک دکمه گذاشتم و کدهای زیر رو نوشتم در رویداد کلیک این دکمه
 
 var scheduler = new StdSchedulerFactory().GetScheduler();
        scheduler.DeleteJob(new JobKey("SendJob"));
که با کلیک این دکمه جاب قبلی متوقف میشه و دیگه اون ارور رو نمی‌گیریم. ولی مشکل اینجاست که چطور میشه بدون اینکه اصلاً با اون ارور کاربر مواجه بشه  پیغام بدیم که شما در حال حاضر مجاز به ارسال نیستید و مثلاً 10 دقیقه  بعد دوباره اقدام به ارسال فرمایید.

یا اینکه چطور میشه یک جاب که تموم شد به کاربر پیغام بدیم که جاب پایان یافته، در این صورت دیگه کاربر در زمان نامناسب اقدام به ایجاد مجدد جاب نخواهد کرد.

ممنون.
اشتراک‌ها
دوره 4 ساعته TypeScript
TypeScript Full Course - From Beginner to Advanced

Welcome to the full TypeScript course from a beginner level all the way down to an advanced level. Throughout the next few hours, you'll learn all of the major features of TypeScript and then apply your knowledge by working through a practice project at the end of the course.

⏳ Timestamps ⏳
00:00:00 | Introduction
00:01:01 | 1.1 - Dynamic vs Static Typing
00:13:47 | 1.2 - Introduction to TypeScript
00:18:15 | 1.3 - TypeScript Setup
00:34:42 | 1.4 - tsconfig
00:41:51 | 2.1 - Primitive Types
00:50:23 | 2.2 - Arrays & Tuples
00:58:48 | 2.3 - Enums & Literals
01:08:44 | 2.4 - Any, Unknown & Type Casts
01:17:55 | 2.5 - Optional Chaining and Bang
01:24:45 | 3.1 - Basic Function Types
01:40:22 | 3.2 - Advanced Function Types
01:48:05 | 3.3 - Interfaces
01:55:57 | 4.1 - Classes & Abstract Classes
02:10:30 | 4.2 - Classes & Interfaces
02:21:15 | 4.3 - Static Attributes & Methods
02:25:37 | 4.4 - Generics
02:32:26 | 5.1 - Type Aliases
02:36:48 | 5.2 - Union & Intersection
02:42:09 | 5.3 - Type Guards
02:49:13 | 5.4 - Discriminated Unions
02:53:42 | 5.5 - Utility Types
02:59:06 | 6.1 - Modules (Import/Export)
03:14:29 | 6.2 - Namespaces
03:19:46 | 7.1 - Project Walkthrough
03:33:25 | 7.2 - Project Solution

دوره 4 ساعته TypeScript
اشتراک‌ها
ارتقاء JavaScript Editor در Visual Studio 2015
JavaScript is an important technology for development on many different platforms, including web, mobile app, and server programming. In Visual Studio 2013 we already support IntelliSense, Go to Definition, colorization, and formatting of JavaScript source, along with several other features. We’ve carried these forward into Visual Studio 2015 and we’ve improved the experience for JavaScript developers by focusing on three key areas:
  1. Improving the development experience when using popular JavaScript libraries
  2. Adding support for new JavaScript ECMAScript 2015 (also known as ES2015 and formerly ES6) language and web browser APIs
  3. Increasing your productivity in complex JavaScript code bases
ارتقاء JavaScript Editor در Visual Studio 2015
نظرات مطالب
EF Code First #9
مهندس جان سوء تفاهم شده ، کوئری که گذاشتم قسمتی از کوئری بود ، من یک کلاس پایه دارم به نام Person و یکسری کلاس مثل Organ,University,User ,Roleو..... که از Person ارث بری میکنند .
Discriminator هم فالت خودم بود که برای یکی از کلاس‌ها فراموش کرده بودم با Table مزینش کنم.
بحث اصلی من سر کوئری حجیمی هست که تولید میشه.
تو این مسئله من نیازی به جوین ندارم و فقط میخواهم اطلاعات پایه خونده بشه نه بقیه کلاس‌ها ، که این مشکل را با پروجیکشن حل کردم . ولی مخواهم بودنم چرا همچین کوئری میسازه زمانی که ازTPT استفاده میکنم . اونم با این همه Case When و Union.
SELECT 
CASE WHEN (( NOT (([Project7].[C1] = 1) AND ([Project7].[C1] IS NOT NULL))) AND ( NOT (([Project3].[C1] = 1) AND ([Project3].[C1] IS NOT NULL))) AND ( NOT (([Project2].[C1] = 1) AND ([Project2].[C1] IS NOT NULL))) AND ( NOT (([Project1].[C1] = 1) AND ([Project1].[C1] IS NOT NULL)))) THEN '0X' WHEN (([Project7].[C1] = 1) AND ([Project7].[C1] IS NOT NULL) AND ( NOT (([Project7].[C2] = 1) AND ([Project7].[C2] IS NOT NULL))) AND ( NOT (([Project7].[C3] = 1) AND ([Project7].[C3] IS NOT NULL))) AND ( NOT (([Project7].[C4] = 1) AND ([Project7].[C4] IS NOT NULL)))) THEN '0X0X' WHEN (([Project7].[C2] = 1) AND ([Project7].[C2] IS NOT NULL)) THEN '0X0X0X' WHEN (([Project2].[C1] = 1) AND ([Project2].[C1] IS NOT NULL)) THEN '0X1X' WHEN (([Project7].[C4] = 1) AND ([Project7].[C4] IS NOT NULL)) THEN '0X0X1X' WHEN (([Project3].[C1] = 1) AND ([Project3].[C1] IS NOT NULL)) THEN '0X2X' WHEN (([Project7].[C3] = 1) AND ([Project7].[C3] IS NOT NULL)) THEN '0X0X2X' ELSE '0X3X' END AS [C1], 
[Extent1].[PersonId] AS [PersonId], 
[Extent1].[Title] AS [Title], 
[Extent1].[PersonType] AS [PersonType],
آیا واقعاً این همه Case لازم داره ، یا بازم من اشتباه کردم
اشتراک‌ها
سری شروع به کار با NET MAUI.

Getting Started with .NET MAUI
105 videos

This playlist contains videos from me and others where we get ramped up about .NET MAUI. It ranges from videos about the .NET MAUI concept to hands-on videos with the .NET MAUI and .NET previews.  

سری شروع به کار با NET MAUI.
اشتراک‌ها
شرکت در نظرسنجی رسمی NuGet

We are looking to learn more about your experience with NuGet.org to understand how we can make it better. This survey will take about 5 minutes of your time. Sharing your feedback here gives you an opportunity to help us prioritize the next set of investments and influence the direction of NuGet.  

شرکت در نظرسنجی رسمی NuGet
اشتراک‌ها
دریافت NET Core 3 - Minibook.

The people from InfoQ released a free (mini)book about .NET Core. In this book, five authors talk about the current state of .NET Core 3.0 from multiple perspectives. Each author brings their experience and ideas on how different .NET Core 3.0 features are relevant to the .NET ecosystem, both present and future. 

دریافت NET Core 3 - Minibook.
اشتراک‌ها
تزریق وابستگی (DI) در ASP.NET Core

I’ve been building some ASP.NET Core apps as of late and had to dig into how Dependency Injection works there. After talking with Julie Lerman a bit on Twitter about it, I realized that there might be some confusing things about how it works in ASP.NET Core, so I’m hoping I can add some clarity in this post. 

تزریق وابستگی (DI) در ASP.NET Core