tag:blogger.com,1999:blog-8263949408347549596.comments2023-10-23T23:19:01.111+02:00Object-Oriented Software DevelopmentWiktor Zychlahttp://www.blogger.com/profile/04420514974154487039noreply@blogger.comBlogger494125tag:blogger.com,1999:blog-8263949408347549596.post-20439666267164642572023-10-19T14:59:15.556+02:002023-10-19T14:59:15.556+02:00In general, the Composition Root is called from th...In general, the Composition Root is called from the Main method of your app.Wiktor Zychlahttps://www.blogger.com/profile/04420514974154487039noreply@blogger.comtag:blogger.com,1999:blog-8263949408347549596.post-79387605498383881862023-09-01T19:30:55.159+02:002023-09-01T19:30:55.159+02:00Where does the SetProvider get called?
ThanksWhere does the SetProvider get called?<br /><br />Thankschris rileyhttps://www.blogger.com/profile/12459102608153085222noreply@blogger.comtag:blogger.com,1999:blog-8263949408347549596.post-61319608077188090992023-06-15T20:02:17.542+02:002023-06-15T20:02:17.542+02:00Supper stuff. Works like a charm!
Thank you for sh...Supper stuff. Works like a charm!<br />Thank you for sharing.<br />\KlausKBJensenhttps://www.blogger.com/profile/09097163544221478386noreply@blogger.comtag:blogger.com,1999:blog-8263949408347549596.post-29648012948672666342023-06-01T17:27:00.738+02:002023-06-01T17:27:00.738+02:00"First we create a list of elements" - t..."First we create a list of elements" - this was the intention, but this is not what was implemented. What we've got here is, in Python terms, a generator that returns a new collection of objects every time you iterate over it. I can't think of a simpler solution than to call ToList() at the end of the LINQ expression.aplhttps://www.blogger.com/profile/14783143626906780756noreply@blogger.comtag:blogger.com,1999:blog-8263949408347549596.post-82632135957515701952023-02-14T09:50:14.079+01:002023-02-14T09:50:14.079+01:00Hi Wiktor
What is Host class, used in the CreateHo...Hi Wiktor<br />What is Host class, used in the CreateHostBuilder() method?Masoudhttps://www.blogger.com/profile/09180582390139775224noreply@blogger.comtag:blogger.com,1999:blog-8263949408347549596.post-53091241116784249862022-11-29T16:54:04.540+01:002022-11-29T16:54:04.540+01:00A czy da sie uzyc IoC we wzorcu MVP czy musze pomy...A czy da sie uzyc IoC we wzorcu MVP czy musze pomyslec o MVVM. Ka.Sa.https://www.blogger.com/profile/03329249097312277194noreply@blogger.comtag:blogger.com,1999:blog-8263949408347549596.post-25916416947832592622022-10-15T12:29:51.699+02:002022-10-15T12:29:51.699+02:00This blog made my life very easy. Thanks for shari...This blog made my life very easy. Thanks for sharing.<br />My issuer app was in MVC5 and Wtrealm is in Dotnet core 6.0 and i am very new to dotnet core.<br /><br />Here is still one point where i am stuck i.e. i am not able to pass parameters in WsFederationMessage(parameters).<br /><br />Below are line of codes that are giving compile time error;<br /><br />Code:<br />var parameters = (await this.Request.ReadFormAsync()).Select(Convert);<br />Error: <br />The type arguments for method 'Enumerable.Select(IEnumerable, Func)' cannot be inferred from the usage. Try specifying the type arguments explicitly.<br /><br />Code:<br />private KeyValuePair Convert(KeyValuePair pair)<br />{<br /> return new KeyValuePair(pair.Key, pair.Value);<br />}<br />Error:<br />'KeyValuePair': static types cannot be used as parameters<br />'KeyValuePair': static types cannot be used as return types<br />Cannot create an instance of the static class 'KeyValuePair'<br /><br />only this line of code is not working in core 6 , is there any solution for it?Gagan Devhttps://www.blogger.com/profile/14830862234963794358noreply@blogger.comtag:blogger.com,1999:blog-8263949408347549596.post-12835034592562825642022-07-21T17:05:09.189+02:002022-07-21T17:05:09.189+02:00Thanks for this post. It got me pointed in the cor...Thanks for this post. It got me pointed in the correct direction for fixing an issue with Safari hammering repeated requests at our Node.js web apps. My <a href="https://stackoverflow.com/questions/71037910/safari-10-fails-to-load-https-with-node-js-iisnode-spams-requests" rel="nofollow">Stack Overflow post</a> has the details.Anonymoushttps://www.blogger.com/profile/11263032671896689286noreply@blogger.comtag:blogger.com,1999:blog-8263949408347549596.post-28733262965344823392022-05-30T15:15:17.024+02:002022-05-30T15:15:17.024+02:00Big thanks to your post here. We were plagued by a...Big thanks to your post here. We were plagued by a similar issue with certain versions of Safari and it took this post to get me started on the path of the HTTP/2 and header issue. In our case were were using IIS and Node.js (with IISNode) and the Node.js apps were sending back the "Connection" header over HTTP/1 but IIS was forwarding that back to the client over HTTP/2. I solved this by manually removing the "Connection" header. See https://stackoverflow.com/a/72434880/10229666 for more details.Anonymoushttps://www.blogger.com/profile/11263032671896689286noreply@blogger.comtag:blogger.com,1999:blog-8263949408347549596.post-16433961560506535722022-05-04T01:38:17.023+02:002022-05-04T01:38:17.023+02:00Great Post, help me a lot! ThanksGreat Post, help me a lot! ThanksNelson Marrohttps://www.blogger.com/profile/06209106529169006693noreply@blogger.comtag:blogger.com,1999:blog-8263949408347549596.post-5199734283728081882022-04-11T17:32:11.277+02:002022-04-11T17:32:11.277+02:00Thanks a lot. I tried adding setting in web.config...Thanks a lot. I tried adding setting in web.config and it does not make a difference, but force it in code does the trick! It made my day!Richardhttps://www.blogger.com/profile/06546478806108270489noreply@blogger.comtag:blogger.com,1999:blog-8263949408347549596.post-41935068854089187262022-01-19T16:41:43.024+01:002022-01-19T16:41:43.024+01:00funcionou. obrigado.funcionou. obrigado.Softmaxhttps://www.blogger.com/profile/01747335208016702573noreply@blogger.comtag:blogger.com,1999:blog-8263949408347549596.post-21455212675884502322022-01-10T07:20:56.675+01:002022-01-10T07:20:56.675+01:00it works, thanks :)it works, thanks :)Duran Hsiehhttps://www.blogger.com/profile/11107578319408050628noreply@blogger.comtag:blogger.com,1999:blog-8263949408347549596.post-71164516966542108112021-12-20T23:06:05.477+01:002021-12-20T23:06:05.477+01:00It still works!
Thank you.It still works!<br />Thank you.Maxhttps://www.blogger.com/profile/10517644621177726663noreply@blogger.comtag:blogger.com,1999:blog-8263949408347549596.post-26684685350506662132021-08-24T18:50:29.815+02:002021-08-24T18:50:29.815+02:00I believe this line is wrong (at least it was for ...I believe this line is wrong (at least it was for me)<br /><br />> Fortunately, the FAM is also integrated in .NET 4.5. I won’t need it in my web.config,...<br /><br />I had to have both in my web config in the system.webserver.modules section as an `add`. Otherwise I got a http 4.01 Unauthorized error saying "The authenticated user does not have access to a resource needed to process the request". Which, its not the user that doesn't have access to a dll, but the website. uggg. <br /><br />Regardless having both dlls (Sam&Fam) where needed in a .Net 4.7 app.<br /><br />PS the book is still available on the O'Reilly Media Learning center (Books online) and it was very helpful to me to understand the process. Thanks!OmegaManhttps://www.blogger.com/profile/11500480334411784614noreply@blogger.comtag:blogger.com,1999:blog-8263949408347549596.post-69138119871759449472021-07-30T16:29:41.935+02:002021-07-30T16:29:41.935+02:00Ta przykładowa wspomniana aplikacja jest dostępna ...Ta przykładowa wspomniana aplikacja jest dostępna z witryny symulatora WK. To zwykła konsolowa aplikacja, która wczytuje XML z zaszyfrowaną asercją i krok po kroku rozkodowuje tego XMLa - samo rozkodowanie jest owszem opisane w dokumentacji, jest tam nawet pseudokod, ale na moim poziomie doświadczenia ten pseudokod był jednak zbyt "pseudo" i zrekonstruowanie działającego kodu, który można by przerobić na C# zajęłoby chyba bardzo dużo czasu. Stąd ta konsolowa aplikacja Java była bardzo, bardzo pomocna.<br /><br />To nie jest jednak pełne demo, nie ma tam w szczególności w ogóle początkowych kroków protokołu SAML2.<br /><br />Symulator WK ma z kolei blokadę IP i dostępny jest tylko z sieci, które są zgłoszone przy uzyskiwaniu wniosku o dostep do symulatora. Wiktor Zychlahttps://www.blogger.com/profile/04420514974154487039noreply@blogger.comtag:blogger.com,1999:blog-8263949408347549596.post-37710575301869290222021-07-12T12:13:19.470+02:002021-07-12T12:13:19.470+02:00Witam,
Chciałbym prosić o informację odnośnie wspo...Witam,<br />Chciałbym prosić o informację odnośnie wspomnianej przez Pana implementacji klienta w języku Java, czy uzyskał Pan ją z pliku "Zal. 5 Instrukcja Integratora Dostawcy Środka Identyfikacji (DŚI).docx? Czy może z innego źródła np. cpa.gov.pl -> IntegracjaWK - v1 -> SDKs -> java?<br /><br />Chciałbym również Panu podziękować za dzielenie się wiedzą oraz udostępnianiem pomocnych materiałów.Anonymoushttps://www.blogger.com/profile/16621637735234409542noreply@blogger.comtag:blogger.com,1999:blog-8263949408347549596.post-43788338706662782092020-07-12T20:40:40.554+02:002020-07-12T20:40:40.554+02:00Thanks! This worked.Thanks! This worked.Gonzalo Bustamante Bañadoshttps://www.blogger.com/profile/04064532238907616384noreply@blogger.comtag:blogger.com,1999:blog-8263949408347549596.post-65624649278207629372019-12-01T01:29:01.249+01:002019-12-01T01:29:01.249+01:00Witam,
Czy jest możliwość udostępnienia kodu źródł...Witam,<br />Czy jest możliwość udostępnienia kodu źródłowego?Jakubhttps://www.blogger.com/profile/10578347623459028535noreply@blogger.comtag:blogger.com,1999:blog-8263949408347549596.post-527143371947679552019-09-12T13:08:32.534+02:002019-09-12T13:08:32.534+02:00Can you help me with the following question?
http...Can you help me with the following question?<br /><br />https://stackoverflow.com/questions/57891080/not-able-to-resolve-class-from-unity-when-calling-web-api-c-sharp<br />Terryhttps://www.blogger.com/profile/04962628788724593715noreply@blogger.comtag:blogger.com,1999:blog-8263949408347549596.post-30936244513607272982019-05-09T21:46:57.787+02:002019-05-09T21:46:57.787+02:00Thanks a lot. Issue for ImageButton still exists e...Thanks a lot. Issue for ImageButton still exists especially when Grid is used inside UpdatePanel. After replacing ImageButton with LinkButton solved the problem.Prathmeshhttps://www.blogger.com/profile/14453887662106183487noreply@blogger.comtag:blogger.com,1999:blog-8263949408347549596.post-26605647318309981462019-02-26T10:44:25.344+01:002019-02-26T10:44:25.344+01:00napisałem na maila cs.uni.wroc.pl (jedyny który zn...napisałem na maila cs.uni.wroc.pl (jedyny który znalazłem(<br /><br />w razie czego proszę o kontakt: mikolaj.krakowski.poznan (at) gmail.com<br /><br />Pozdrawiam<br />MikołajAnonymoushttps://www.blogger.com/profile/01022164396566534103noreply@blogger.comtag:blogger.com,1999:blog-8263949408347549596.post-73706592934043297532019-02-25T14:30:36.279+01:002019-02-25T14:30:36.279+01:00Proszę o kontakt mailowy.Proszę o kontakt mailowy.Wiktor Zychlahttps://www.blogger.com/profile/04420514974154487039noreply@blogger.comtag:blogger.com,1999:blog-8263949408347549596.post-1772971511570365932019-02-25T13:46:26.773+01:002019-02-25T13:46:26.773+01:00Witam serdecznie
jest możliwość dorzucenia przykła...Witam serdecznie<br />jest możliwość dorzucenia przykładowego komunikatu ArtifactResolve?<br /><br />Walczę obecnie z integracją i za każdym razem dostaję ArtifactResponse bez Response (nie mam uzupełnionych żadnych destination etc, podpis prawidłowy (enveloped, signature wskazujący na ID). <br />Kończą mi się pomysły co może być nie tak a Helpdesk odpowiada po miesiącu jak się ich bombarduje telefonami...<br /><br />Pozdrawiam<br />MikołajAnonymoushttps://www.blogger.com/profile/01022164396566534103noreply@blogger.comtag:blogger.com,1999:blog-8263949408347549596.post-54194678681068071062019-01-27T16:42:34.857+01:002019-01-27T16:42:34.857+01:00Czy jest możliwość zakupu kodu. Chodzi konkretnie ...Czy jest możliwość zakupu kodu. Chodzi konkretnie o komunikację z polskim ZUS?Anonymoushttps://www.blogger.com/profile/04519237335895260632noreply@blogger.com