اشتراکها
اشتراکها
EF5 منتشر شد
اشتراکها
روش های مقایسه اشیاء با null
Check | Code | Description |
Is Null | if(variable is null) return true; |
|
Is Not Null | if(variable is { }) return false |
|
Is Not Null | if(variable is object) return false |
|
Is Null | if(variable == null) return true |
|
Is Not Null | if(variable != null) return false |
|
سلام
یک API دارم که قراره روی یک سرور و توسط IIS اجرا بشه. برنامه کلاینت یک برنامه WindowApp هستش. در حال حاضر این دو با هم ارتباط دارند و با بخوبی کار میکنند. ولی این امکان نیز وجود داره که API را در جای سرور دیگری نیز اجرا و مجددا استفاده کنند. آیا همانند برنامه های ویندوزی امکان این وجود داره که یک برنامه API جهت تشخیص سرور مورد نظر، اطلاعات سخت افزاری سرور را بررسی کند یا راه حل دیگه ای برای این موضوع وجود داره؟
تشکر
اشتراکها
بررسی Native AOT در داتنت 8
Deep .NET - Ahead of Time Compilation (Native AOT) with Eric Erhardt
Scott Hanselman is joined by Eric Erhardt to go deep on all things Native AOT, that is right, Ahead of Time Compilation. Learn about everything Native AOT from start to finish and how .NET leverages this technology to make your apps and code super fast.
Chapters:
00:00:00 Intro
00:04:17 Understanding the Options and Restrictions of Publishing in .NET Apps
00:06:46 Limitations and Benefits of Native AOT
00:12:33 Development and Implementation of Web API AOT
00:16:28 Use of Create Small and Source Generators in Web Development
00:22:03 Role and Impact of Source Generators in Software Development
00:29:17 Application Performance Optimization and Role-Based Optimization in Web Development
00:33:27 Program Optimization Techniques and Trade-offs
00:37:28 Trade-offs and Considerations in Application Optimization
00:41:27 Understanding the Challenges and Limitations of Implementing AOT
00:46:34 Understanding and Implementing AOT
00:52:56 Understanding Model Streaming Extensions
00:55:50 C# 11 and AOT
01:03:49 Understanding and Addressing AOT Compatibility Issues
01:08:54 Understanding Trimming
01:10:35 Understanding and Addressing System Memory Data and Error Handling
01:16:16 Binary Data Compatibility and Source Generation in Visual Studio
01:24:25 Advanced Features
01:25:29 Wrap-up
- اولین تجربه با BugNET | (Afshar Mohebbi) | blog.afsharm.com
- پایگاه علمی 'الزویر' تحریم شد | www.irna.ir
- چگونه با مهلت های نامعقول برای انجام کار در محیط کار کنار بیاییم؟ | (بهروز راد) | www.codepro.ir
- دیدگاه کاربرها و برنامه نویسان نسبت به هم! | خدادادی طاقانکی | nodiran.com
- مروری بر فریمورک Qt | سروش | linuxreview.ir
- معرفی سایت - جایی برای کپی پیست در اینترنت | (مجتبی بنائی) | www.banaie.ir
- SQL Server Denali CTP3 Demo VHD | www.microsoft.com
- از ارسال کوکیهای اضافی در ASP.NET جلوگیری کنید | omaralzabir.com
- بهینه سازی برنامههای ASP.NET | madskristensen.net
- توضیحاتی در مورد پروژه Roslyn یا همان «کامپایلر به عنوان سرویس» | www.microsoft.com
- دریافت نگارش آزمایشی پروژه Roslyn یا همان «کامپایلر به عنوان سرویس» | www.microsoft.com
- کمی در مورد جزئیات تاریخ منقضی شدن Redgate's Reflector | picturoku.blogspot.com
- مثالهایی در مورد پروژه Roslyn یا همان «کامپایلر به عنوان سرویس» | www.microsoft.com
سایت iplocationtools بانک اطلاعاتی موقعیت مکانی IP های خود را که ماهیانه نیز به روز خواهد شد، به رایگان برای دریافت قرار داده است. فرمت تعاریف جداول و عبارت insert آن مطابق دستورات بانک اطلاعاتی MySQL است.
تنها بازیگر شاخص یازده سال قبل در زمینه توسعه برنامههای مبتنی بر QT ، برنامه KDevelop بوده است. این وضعیت با ارائه Qt Creator بهبود یافته است ...
- شرکت Red gate که پیشتر برنامهی معروف Reflector را در جهت اهداف تبلیغاتی خود تصاحب کرده بود، اکنون در ادامهی همین سیاست، کتاب Illustrated C# 2008 را نیز به رایگان ارائه داده است.
- سایت DelphiFeeds.com با طراحی جدید خود چند روزی است که متحول شده است. سایتی شبیه به سایت مهندس خودمان که بعد از عید معلوم نیست چه بلایی سرش آمده است و جای خالی آن احساس میشود، هر چند سایت IDevCenter نیز همین کار را به صورت تخصصیتری ارائه میدهد.
- Microsoft MED-V 1.0 در جهت توسعهی اهداف مجازی سازی مایکروسافت ارائه شد.
ابزارهای زیادی برای محافظت و یا فشرده سازی و رمزنگاری اسمبلیهای دات نت موجود هستند که اکثر آنها تجاری هستند. برنامه netz نمونهای است سورس باز و رایگان که تنها کار فشرده سازی اسمبلی موجود را انجام میدهد. همچنین با استفاده از آن سورس اسمبلی شما بهوسیله برنامه reflector قابل مرور نخواهد بود. هر چند این برنامه سورس باز است و امکان unpack کردن نتیجه آن نیز احتمالا با اندکی سعی میسر خواهد بود اما باز هم یک مرحله پیشرفت محسوب میشود! خصوصا اینکه میتوان برای آن Custom Compression Provider نوشت و برای مثال فایل زیپ شده نهایی را رمزنگاری نیز کرد.
قبل از عمل:
بعد از عمل:
نحوه استفاده:
فشردن کردن یک فایل exe توسط آن
netz app.exe
الحاق کردن فایل zip.dll همراه با فایل exe (بدون نیاز به توزیع فایل zip.dll):
netz -z app.exe
یکی کردن تمام dll های برنامه با فایل exe در قالب یک فایل نهایی:
netz -s app.exe lib1.dll lib2.dll
نکته:
در اینجا به صورت پیش فرض از فایل zip.dll برای فشرده سازی استفاده میشود (که برای تمام نگارشهای دات نت قابل استفاده است). در نگارشهای جدید دات نت، فشرده سازی نیز به کلاسهای استاندارد اضافه شده است که امکان استفاده از آن نیز در اینجا مهیا است (و دیگر نیازی به استفاده از zip.dll آن نخواهد بود).
netz.exe -r net20comp.dll app.exe
نحوه برنامه نویسی یک compression provider سفارشی برای آن در آدرس زیر توضیح داده شده است. (اعمال موارد امنیتی دلخواه و استفاده از آن)
http://madebits.com/netz/compress.php
و موارد دیگری که در راهنمای سایت آن توضیح داده شدهاند.