Тёмный

Flyweight Design Pattern (C#) 

Raw Coding
Подписаться 71 тыс.
Просмотров 7 тыс.
50% 1

The flyweight design pattern explained with examples in code.
Patreon 🤝 / raw_coding
Courses 📚 learning.raw-coding.dev
Shop 🛒 shop.raw-coding.dev
Discord 💬 / discord
Twitter 📣 / anton_t0shik
Twitch 🎥 / raw_coding
Playlist: • c# design patterns
Source: github.com/raw-coding-youtube...
#csharp #flyweight #designpatterns

Опубликовано:

 

21 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 23   
@stefanioan7569
@stefanioan7569 3 года назад
Brilliant!
@RawCoding
@RawCoding 3 года назад
Cheers
@user-ri6mm4hj6h
@user-ri6mm4hj6h 3 года назад
Would be nice if the last video if this playlist would be the video where you explain the difference between different patterns e.g. Flyweight vs Singelton
@RawCoding
@RawCoding 3 года назад
I’ll run a poll
@marcoscardona989
@marcoscardona989 Год назад
How would you implement Flyweight in a microservices scenario?
@thatcreole9913
@thatcreole9913 3 года назад
Universities need to just show this playlist.
@RawCoding
@RawCoding 3 года назад
Cheers)
@MostafaZaki_fcih
@MostafaZaki_fcih 3 года назад
Could you please guide me for what's the difference Custom Authorization Filter vs Policy in ASP.Net Core I'm got confused It'll be nice if u provide me an article or example for when to use both of them thanks ?
@RawCoding
@RawCoding 3 года назад
I have a whole series on authorisation in aspnetcore
@MostafaZaki_fcih
@MostafaZaki_fcih 3 года назад
@@RawCoding I watch most of it , but get it's awsome,and I'll compleete it when I have a time , but I'm now confused with what I mentioned if u can clear this confusion for me thanks
@RawCoding
@RawCoding 3 года назад
Policy is a business rule Custom filter is an infrastructure setup
@MostafaZaki_fcih
@MostafaZaki_fcih 3 года назад
@@RawCoding I know that,but in example like this I think I can do what is the custom policy know without creaating requirement and handler so what is the difference or when to use authorize public class ClaimRequirementAttribute : TypeFilterAttribute { public ClaimRequirementAttribute(string claimType, string claimValue) : base(typeof(ClaimRequirementFilter)) { Arguments = new object[] { new Claim(claimType, claimValue) }; } } public class ClaimRequirementFilter : IAuthorizationFilter { readonly Claim _claim; public ClaimRequirementFilter(Claim claim) { _claim = claim; } public void OnAuthorization(AuthorizationFilterContext context) { var hasClaim = context.HttpContext.User.Claims.Any(c => c.Type == _claim.Type && c.Value == _claim.Value); if (!hasClaim) { context.Result = new ForbidResult(); } } [Route("api/resource")] public class MyController : Controller { [ClaimRequirement("Permission", "SCI_FI")] //[StreamingCategoryAuthorize(StreamingCategory.SCI_FI)] [HttpGet] public IActionResult GetResource() { return Ok(); } } }
@nikosevangelopoulos3605
@nikosevangelopoulos3605 3 года назад
The one guy who disliked wanted to test the extrinsic state of the button.
@RawCoding
@RawCoding 3 года назад
Hahahahaha
@clearlyunwell
@clearlyunwell 3 года назад
Lol!
@clearlyunwell
@clearlyunwell 3 года назад
👍🏽
@RawCoding
@RawCoding 3 года назад
Awesome
@jefftong642
@jefftong642 Год назад
Great video. Did anyone else noticed the ass in the background?
@RawCoding
@RawCoding Год назад
🍑
@amitsinghrawat4760
@amitsinghrawat4760 3 года назад
Hi, Requesting video The best way to Check a file is virus-infected or not.
@RawCoding
@RawCoding 3 года назад
No
@prajjwalagarwal4314
@prajjwalagarwal4314 3 года назад
Can you provide us this code?
@RawCoding
@RawCoding 3 года назад
Check the description
Далее
Iterator Design Pattern (C#)
8:30
Просмотров 8 тыс.
Prototype Design Pattern (C#)
12:30
Просмотров 16 тыс.
How Dependency Injection Works in #csharp
43:52
Просмотров 53 тыс.
Why replace if statements with Objects
22:20
Просмотров 8 тыс.
Working with queues? Build a Message Sink
27:04
Просмотров 3,1 тыс.
Composite Design Pattern (C#)
11:21
Просмотров 9 тыс.
Proxy/Ambassador Design Pattern (C#, Microservices)
13:09
Singleton Design Pattern (C#, Microservices)
15:22
Просмотров 13 тыс.
Decorator/Wrapper Design Pattern (C#)
16:01
Просмотров 13 тыс.
Memento Design Pattern (C#)
11:14
Просмотров 6 тыс.
Facade Design Pattern (C#, Microservices)
11:55
Просмотров 9 тыс.