کتاب رایگان LINQPad Succinctly
LINQPad Succinctly offers IT professionals a detailed examination of how and why LINQPad can improve development lifecycle and deliver applications in less time. Author José Roberto Olivas Mendoza begins with a detailed overview of LINQPad's features, then delves into the installation process, including necessary prerequisites. Readers then get instruction on how to get the most out of LINQPad, such as how to query data bases and using LINQPad as a code scratchpad, which allows users to save significant time and effort on application delivery.
- Introduction
- Installing LINQPad
- Beginning with LINQPad
- LINQPad Basics
- Querying Databases with LINQ-to-SQL
- LINQPad as a Code Scratchpad
- General Summary
- General Conclusions about LINQPad
- Appendix
سری مقدمات DDD
فارسی کردن اعداد در صفحات blazor
- کلاس img-fluid که سبب ایجاد تصاویر واکنشگرا میشود. به این معنا که اگر این کلاس به تصویری انتساب داده شد، عرض آن با عرض container آن، تطابق پیدا میکند.
- کلاس rounded-dir برای گرد کردن گوشههای تصاویر کاربرد دارد. در اینجا ذکر dir اختیاری است و میتواند مقادیر زیر را داشته باشد:
top, right, bottom, left, circle
همچنین اگر تصویری دارای گوشههای گرد است (توسط کلاس css دیگری تنظیم شدهاست)، میتوان با اعمال کلاس rounded-0، آنرا لغو کرد.
- کلاس img-thumbnail نیز تصویری را با گوشههای گرد و همچنین با حاشیهای به ضخامت 1px، ایجاد میکند.
- کلاسهای float-left و float-right حالت پیشفرض نمایش inline تصاویر را لغو کرده و آنها را در جهتهای دلخواهی نمایش میدهند.
- اگر حالت نمایش تصویر inline است، میتوان مانند متون با استفاده از کلاس text-center، آنها را در میانهی container، نمایش داد.
- اگر تصویر به صورت block نمایش داده میشود (display:block)، کلاس mx-auto میتواند آنرا در میانهی container نمایش دهد.
مثالی از تصاویر واکنشگرا
<body> <div class="container"> <section class="content" id="testimonials"> <h2>Testimonials</h2> <figure> <img class="img-fluid" src="images/testimonial-johnb.jpg" alt="John B Photo"> <figcaption>The staff at Wisdom worked tirelessly to determine why our three-year old Golden Retriever, Roxie, started going into sudden kidney failure. They stabilized her and provided fluids until her kidneys were again functioning normally.</figcaption> </figure> </section> </div> </body>
همانطور که مشاهده میکنید، این کلاس، یک تصویر بزرگ را متناسب با عرض دربرگیرندهی آن، نمایش میدهد.
مثال تصویر با گوشههای گرد
در همین مثال اگر بخواهیم گوشههای تصویر را گرد کنیم، فقط کافی است کلاس rounded را نیز به آن اضافه کنیم:
<img class="img-fluid rounded" src="images/testimonial-johnb.jpg" alt="John B Photo">
مثال تصویر با گوشههای گرد در جهتی خاص
و یا اگر جهتی را نیز به آن اعمال کنیم:
<img class="img-fluid rounded-top" src="images/testimonial-johnb.jpg" alt="John B Photo">
و یا نتیجهی اعمال جهت دایرهای به تصویر:
<img class="img-fluid rounded-circle" src="images/testimonial-johnb.jpg" alt="John B Photo">
مثال نمایش تصویر در گوشهای خاص از صفحه
اگر بخواهیم تصویر را برای مثال در سمت چپ صفحه نمایش دهیم:
<img class="img-fluid rounded-circle float-left" width="200px" src="images/testimonial-lorraines.jpg" alt="Lorraine Photo">
برای نمایش تصویر در وسط صفحه:
<body> <div class="container"> <section class="content" id="testimonials"> <h2>Testimonials</h2> <figure class="text-center"> <img class="img-fluid rounded-circle" src="images/testimonial-mcphersons.jpg" alt="McPhersons Photo" width="200px"> <figcaption>When Samantha, our Siamese cat, began sleeping all the time and urinating excessively, we brought her to see the specialists at Wisdom. Now, two years later, Samantha is still free from any complications of diabetes, and her blood sugar regularly tests normal.</figcaption> </figure> </section> </div> </body>
کار با عناصر figure جهت نمایش بهتر تصاویر و متون ذیل آنها
برای کار بهتر با عناصر figure در بوت استرپ، ابتدا کلاس figure را به آنها انتساب میدهیم. سپس میتوان کلاس figure-img را به تصاویر داخل آنها افزود. این مورد سبب میشود تا تصاویر با اندکی فاصله نسبت به متن داخل آن نمایش داده شوند. در آخر میتوان به figcaption، کلاس figure-caption را افزود تا رنگ و فاصلهی مناسبی را به آن اعمال کند:
<body> <div class="container"> <section class="content" id="testimonials"> <h2>Testimonials</h2> <figure class="figure"> <img class="img-fluid figure-img rounded" src="images/testimonial-lorraines.jpg" alt="Lorraine Photo"> <figcaption class="figure-caption">Wisdom Pet Medicine is the only clinic around that will even book pet fish for appointments. When our 13-year old Comet goldfish, McAllister, turned from silvery white to an angry red, we called around, urgently trying to find a veterinarian who could help. Wisdom not only got us in the same day, but also was able to diagnose McAllister as having a severe case of septicemia.</figcaption> </figure> </section> </div> </body>
کلاس figure-img سبب شدهاست تا تصویر، با متن، اندکی فاصله پیدا کند. همچنین کلاس figure-caption، متن ذیل تصویر را اندکی روشنتر نمایش میدهد.
کدهای کامل این قسمت را از اینجا میتوانید دریافت کنید: Bootstrap4_03.zip
در حین وبگردیهای روزانه به مرجع آموزشی رایگان 500 صفحهای زیر برخوردم، گفتم شاید برای شما هم جالب توجه باشد:
Entity Framework learning guide
1. Introduction to Entity Framework
2. Modeling Entities
3. Eager and Lazy Loading entities and Navigation properties
4. Views
5. Inheritance
6. Working with Objects
7. Improving Entity framework performance
8. Inserting, Updating and Deleting entities and associations
9. Querying with Linq to entities
10. Concurrency and Transactions
11. Consuming Stored Procedures
12. Mapping Crud Operations to Stored Procedure
Download
Its value MUST be a number containing a NumericDate value.
A JSON numeric value representing the number of seconds from 1970-01-01T00:00:00Z UTC until the specified UTC date/time, ignoring leap seconds. This is equivalent to the IEEE Std 1003.1, 2013 Edition [POSIX.1] definition "Seconds Since the Epoch", in which each day is accounted for by exactly 86400 seconds, other than that non-integer values can be represented. See RFC 3339 [RFC3339] for details regarding date/times in general and UTC in particular.
سری کار با Web API
My road for the series is as follows,
RESTful Day #1: Enterprise level application architecture with Web APIs using Entity Framework, Generic Repository pattern and Unit of Work.
RESTful Day #2: Inversion of control using dependency injection in Web APIs using Unity Container and Bootstrapper.
RESTful Day #3: Resolve dependency of dependencies using Inversion of Control and dependency injection in Asp.net Web APIs with Unity Container and Managed Extensibility Framework (MEF).
RESTful Day #4: Custom URL Re-Writing/Routing using Attribute Routes in MVC 4 Web APIs.
RESTful Day #5: Basic Authentication and Token based custom Authorization in Web APIs using Action Filters.
RESTful Day #6: Request logging and Exception handing/logging in Web APIs using Action Filters, Exception Filters and nLog.
RESTful Day #7: Unit testing ASP.NET Web APIs controllers using nUnit.
RESTful Day #8: Extending OData support in ASP.NET Web APIs.
مقایسه React و Blazor
Web application development has evolved with the rise of new technologies and frameworks. Two of the most popular technologies for building interactive web applications are Blazor and React. In this article, we will compare Blazor and React and highlight their differences with examples.