tag:blogger.com,1999:blog-9014730285386259823.post7247649086682721117..comments2024-03-04T14:41:53.519+05:30Comments on Prasanna Kumar Pattam: ASP.NET Core / MVC 6 HttpContext.CurrentPrasanna Kumar Pattamhttp://www.blogger.com/profile/05306189308152061408noreply@blogger.comBlogger30125tag:blogger.com,1999:blog-9014730285386259823.post-47388044029003539972024-02-25T04:38:28.434+05:302024-02-25T04:38:28.434+05:309F1BB
coin nereden alınır
kucoin
en iyi kripto gru...9F1BB<br /><a href="https://www.youtube.com/watch?v=A9pgbhcwXFM" rel="nofollow">coin nereden alınır</a><br /><a href="https://www.youtube.com/watch?v=cZUggbJpK4Q" rel="nofollow">kucoin</a><br /><a href="https://sites.google.com/view/kripto-telegram/" rel="nofollow">en iyi kripto grupları telegram</a><br /><a href="https://www.youtube.com/watch?v=gFa82OMdztg" rel="nofollow">kripto para nereden alınır</a><br /><a href="https://www.youtube.com/watch?v=rB_6E9BN708" rel="nofollow">huobi</a><br /><a href="https://www.youtube.com/watch?v=oR2y02J3HCM" rel="nofollow">binance referans</a><br /><a href="https://www.youtube.com/watch?v=GcW-ULpcPHg" rel="nofollow">btcturk</a><br /><a href="https://play.google.com/store/apps/details?id=com.nanytoo.app&hl=tr&gl=US" rel="nofollow">sohbet canlı</a><br /><a href="https://sites.google.com/view/kripto-telegram/" rel="nofollow">kripto para telegram</a><br />takipci--http://www.takipcim.com.tr/noreply@blogger.comtag:blogger.com,1999:blog-9014730285386259823.post-63367613832533043842024-02-17T04:42:13.721+05:302024-02-17T04:42:13.721+05:30C88A1
btcturk
btcturk
papaya meyvesi
canlı sohbet ...C88A1<br /><a href="https://www.youtube.com/watch?v=UcvjKYbAZWA" rel="nofollow">btcturk</a><br /><a href="https://www.youtube.com/watch?v=oK-cflbzmpI" rel="nofollow">btcturk</a><br /><a href="https://papayameyvesi.com/" rel="nofollow">papaya meyvesi</a><br /><a href="https://play.google.com/store/apps/details?id=com.nanytoo.app&hl=tr&gl=US" rel="nofollow">canlı sohbet uygulamaları</a><br /><a href="https://www.youtube.com/watch?v=ZKnUqWm2EBY" rel="nofollow">paribu</a><br /><a href="https://www.youtube.com/watch?v=K-c6Yws8zWM" rel="nofollow">bitexen</a><br /><a href="https://www.youtube.com/watch?v=igks0RYzoGk" rel="nofollow">bingx</a><br /><a href="https://www.youtube.com/watch?v=HbKK5HdKk68" rel="nofollow">probit</a><br /><a href="https://www.youtube.com/watch?v=30cT3hGzzsg" rel="nofollow">binance referans kimliği nedir</a><br />takipci_satin_alma-https://takipcim.com.trnoreply@blogger.comtag:blogger.com,1999:blog-9014730285386259823.post-60383741750334428342024-02-13T21:01:22.009+05:302024-02-13T21:01:22.009+05:30C8048
papatya sabunu
ilk kripto borsası
mexc
keçi ...C8048<br /><a href="https://kapinagelsin.com.tr/sabun/papatya-sabunu/" rel="nofollow">papatya sabunu</a><br /><a href="https://www.youtube.com/watch?v=3WhOIVPcVNY" rel="nofollow">ilk kripto borsası</a><br /><a href="https://www.youtube.com/watch?v=bnJNar38MWY" rel="nofollow">mexc</a><br /><a href="https://kapinagelsin.com.tr/sabun/keci-sutu-bal-sabunu/" rel="nofollow">keçi sütü bal sabunu</a><br /><a href="https://kapinagelsin.com.tr/sabun/defne-sabunu/" rel="nofollow">defne sabunu</a><br /><a href="https://kapinagelsin.com.tr/sabun/katran-sabunu/" rel="nofollow">katran sabunu</a><br /><a href="https://www.youtube.com/watch?v=ogrX6j8RMvQ" rel="nofollow">bitcoin haram mı</a><br /><a href="https://4gmobilproxy.com.tr/" rel="nofollow">4g mobil proxy</a><br /><a href="https://www.youtube.com/watch?v=gFa82OMdztg" rel="nofollow">kripto para nereden alınır</a><br />-Takipci_Satin_Alma----------http://takipcim.com.trnoreply@blogger.comtag:blogger.com,1999:blog-9014730285386259823.post-50211049084538735332024-01-06T16:02:02.385+05:302024-01-06T16:02:02.385+05:304302C
Binance Madenciliği Nedir
Telegram Görüntüle...4302C<br /><a href="https://referanskodunedir.com.tr/binance-madenciligi-nedir/" rel="nofollow">Binance Madenciliği Nedir</a><br /><a href="https://dostca.com/telegram-goruntuleme-satin-al/" rel="nofollow">Telegram Görüntüleme Satın Al</a><br /><a href="https://dostca.com/onlyfans-takipci-satin-al/" rel="nofollow">Onlyfans Takipçi Satın Al</a><br /><a href="https://referanskodunedir.com.tr/kripto-para-kazma-siteleri/" rel="nofollow">Kripto Para Kazma Siteleri</a><br /><a href="https://dostca.com/twitter-trend-topic-satin-al/" rel="nofollow">Twitter Trend Topic Satın Al</a><br /><a href="https://referanskodunedir.com.tr/mexc-borsasi-kimin/" rel="nofollow">Mexc Borsası Kimin</a><br /><a href="https://dostca.com/instagram-begeni-satin-al/" rel="nofollow">Instagram Beğeni Satın Al</a><br /><a href="https://titandijital.com.tr/aion-coin-hangi-borsada/" rel="nofollow">Aion Coin Hangi Borsada</a><br /><a href="https://play.google.com/store/apps/details?id=com.nanytoo.app&hl=tr" rel="nofollow">Sohbet</a><br />5AB6BKaidenceB9897noreply@blogger.comtag:blogger.com,1999:blog-9014730285386259823.post-10821054987222847882023-12-04T17:20:41.885+05:302023-12-04T17:20:41.885+05:30541AE
binance referans kodu %20541AE<br /><a href="https://referanskodunedir.com.tr/" title="binance referans kodu %20" lang="tr" rel="nofollow">binance referans kodu %20</a><br />A7958Kenia9E36Cnoreply@blogger.comtag:blogger.com,1999:blog-9014730285386259823.post-22681033561467160152023-12-03T22:26:34.315+05:302023-12-03T22:26:34.315+05:302C154
%20 binance referans kodu2C154<br /><a href="https://referanskodunedir.com.tr/" title="%20 binance referans kodu" rel="nofollow">%20 binance referans kodu</a><br />A0E6EKaleigh1AE44noreply@blogger.comtag:blogger.com,1999:blog-9014730285386259823.post-12492815096330528812023-11-06T19:10:30.115+05:302023-11-06T19:10:30.115+05:30BED0F
Kütahya Parça Eşya Taşıma
Manisa Parça Eşya ...BED0F<br /><a href="https://bit.ly/kutahya-parca-esya-tasima" rel="nofollow">Kütahya Parça Eşya Taşıma</a><br /><a href="https://bit.ly/manisa-parca-esya-tasima" rel="nofollow">Manisa Parça Eşya Taşıma</a><br /><a href="https://bit.ly/adana-evden-eve-nakliyat" rel="nofollow">Adana Evden Eve Nakliyat</a><br /><a href="https://bit.ly/izmir-lojistik" rel="nofollow">İzmir Lojistik</a><br /><a href="https://bit.ly/kirklareli-lojistik" rel="nofollow">Kırklareli Lojistik</a><br />F0852ChristineEB71Dnoreply@blogger.comtag:blogger.com,1999:blog-9014730285386259823.post-41522349056818180202023-10-22T05:12:32.292+05:302023-10-22T05:12:32.292+05:30Mersin Lojistik
Amasya Lojistik
Kayseri Lojistik
K...<a href="https://titandijital.com.tr/mersin-lojistik/" rel="nofollow">Mersin Lojistik</a><br /><a href="https://titandijital.com.tr/amasya-lojistik/" rel="nofollow">Amasya Lojistik</a><br /><a href="https://titandijital.com.tr/kayseri-lojistik/" rel="nofollow">Kayseri Lojistik</a><br /><a href="https://titandijital.com.tr/kirklareli-lojistik/" rel="nofollow">Kırklareli Lojistik</a><br /><a href="https://titandijital.com.tr/erzurum-lojistik/" rel="nofollow">Erzurum Lojistik</a><br />GKXM2JTimeSorcererYOLG1noreply@blogger.comtag:blogger.com,1999:blog-9014730285386259823.post-41632620670153978142023-10-08T05:11:39.580+05:302023-10-08T05:11:39.580+05:30whatsapp görüntülü show
ücretli.show
2L7BA<a href="https://xn--grntl-jua7bcb.show/" rel="nofollow">whatsapp görüntülü show</a><br /><a href="https://xn--cretli-2ya.show/" rel="nofollow">ücretli.show</a><br />2L7BAGülriznoreply@blogger.comtag:blogger.com,1999:blog-9014730285386259823.post-6491468136410436222023-09-28T08:48:00.790+05:302023-09-28T08:48:00.790+05:30https://bayanlarsitesi.com/
Cihangir
Heybeliada
Ya...<a href="https://bayanlarsitesi.com/" rel="nofollow">https://bayanlarsitesi.com/</a><br /><a href="https://bayanlarsitesi.com/cihangir-escort/" rel="nofollow">Cihangir</a><br /><a href="https://bayanlarsitesi.com/heybeliada-escort/" rel="nofollow">Heybeliada</a><br /><a href="https://bayanlarsitesi.com/yalova-escort/" rel="nofollow">Yalova</a><br /><a href="https://bayanlarsitesi.com/adana-escort/" rel="nofollow">Adana</a><br />MOYTahsinnoreply@blogger.comtag:blogger.com,1999:blog-9014730285386259823.post-78141052862473994832018-03-18T17:03:06.542+05:302018-03-18T17:03:06.542+05:30I do not understand very well how your code works,...I do not understand very well how your code works, I check it on the tester shows an errorsmarty rewriterhttp://smartessayrewriter.com/noreply@blogger.comtag:blogger.com,1999:blog-9014730285386259823.post-49931259751538058892017-10-14T14:06:34.201+05:302017-10-14T14:06:34.201+05:30Thanks!Thanks!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9014730285386259823.post-78804534028598728222017-03-12T21:59:51.095+05:302017-03-12T21:59:51.095+05:30I'm sorry but when i tried to implement this s...I'm sorry but when i tried to implement this solution, Visual Studio thrown this exception: No service for type 'Microsoft.AspNetCore.Http.IHttpContextAccessor' has been registered.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9014730285386259823.post-26370281188936757262016-10-23T23:52:08.391+05:302016-10-23T23:52:08.391+05:30Thank you very much!Thank you very much!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-9014730285386259823.post-89247673249622758222016-10-19T12:33:42.428+05:302016-10-19T12:33:42.428+05:30Thanks for this.... Really helped me.
NikhilThanks for this.... Really helped me.<br />NikhilAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-9014730285386259823.post-32499108160172103152016-08-16T22:00:16.064+05:302016-08-16T22:00:16.064+05:30I am using this code in my project, let me know wh...I am using this code in my project, let me know what is not working? Prasanna Kumar Pattamhttps://www.blogger.com/profile/05306189308152061408noreply@blogger.comtag:blogger.com,1999:blog-9014730285386259823.post-16607257016183549262016-08-15T17:06:46.701+05:302016-08-15T17:06:46.701+05:30
Hi All,
Thanks for this issue but
It does not wo...<br />Hi All,<br />Thanks for this issue but <br />It does not work for me...Asp.Net Core framewoek 4.6...HttpContext is nullAnonymoushttps://www.blogger.com/profile/13981489737952443277noreply@blogger.comtag:blogger.com,1999:blog-9014730285386259823.post-4065741974374702652016-06-17T21:31:43.912+05:302016-06-17T21:31:43.912+05:30thanks for the reply, i will take a look on cache,...thanks for the reply, i will take a look on cache, yeah the issue is that the main application where they login dont use core yet, once they login the user can enter to our application and thats how we got the user info, but now that my application its using core dont know how to retreive it, thanks for your helpIvanhttps://www.blogger.com/profile/13770806719211048577noreply@blogger.comtag:blogger.com,1999:blog-9014730285386259823.post-65186731957750315272016-06-17T09:53:00.611+05:302016-06-17T09:53:00.611+05:30Ivan, it seems you are using Application object to...Ivan, it seems you are using Application object to store your data (CurrentDistributor). This mechanism is discontinued in Core. You should use Caching. Please see the documentation on this<br />https://docs.asp.net/en/latest/performance/caching/memory.htmlPrasanna Kumar Pattamhttps://www.blogger.com/profile/05306189308152061408noreply@blogger.comtag:blogger.com,1999:blog-9014730285386259823.post-19969163584792864382016-06-16T21:18:00.634+05:302016-06-16T21:18:00.634+05:30Hi thanks for the quick reply, the issue is before...Hi thanks for the quick reply, the issue is before we were doing this<br /><br />return (HttpContext.ApplicationInstance as IGlobalContext);<br /><br />IGlobalContext its an interface like this<br /><br /> public interface IGlobalContext<br /> {<br /> string Culture { get; }<br /> DistributorProfileModel CurrentDistributor { get; }<br /> }<br /><br />So the applicationInstance on httpContext contained all the info from current distributor, now i dont know how to obtain that information since httpApplication no longer exists, i believe the info must be there on the context but i dont know how to access now (maybe in the headers?)<br /><br />Thanks for your timeIvanhttps://www.blogger.com/profile/13770806719211048577noreply@blogger.comtag:blogger.com,1999:blog-9014730285386259823.post-31594434569133920332016-06-16T10:02:53.692+05:302016-06-16T10:02:53.692+05:30In ASP.NET Core you can get the current logged in ...In ASP.NET Core you can get the current logged in User inside the controller using this.HttpContext.User. If you want to get the user info outside the controller, you can use the approach I mentioned above.Prasanna Kumar Pattamhttps://www.blogger.com/profile/05306189308152061408noreply@blogger.comtag:blogger.com,1999:blog-9014730285386259823.post-25544332895525150542016-06-16T01:30:46.674+05:302016-06-16T01:30:46.674+05:30Hi one question,
i have create an application wit...Hi one question,<br /><br />i have create an application with mvc 6, other application will redirect to mine, before we were obtaining all the user info from httpApplication now how can i read the values if theres no httpApplication on mvc6?Ivanhttps://www.blogger.com/profile/13770806719211048577noreply@blogger.comtag:blogger.com,1999:blog-9014730285386259823.post-60425390106592597382016-01-20T21:25:45.569+05:302016-01-20T21:25:45.569+05:30With RC1 try this code
var contextAcce...With RC1 try this code<br /> var contextAccessor = HttpContextAccessor.HttpContext.RequestServices.GetService(typeof(Microsoft.AspNet.Mvc.Infrastructure.IActionContextAccessor)) as IActionContextAccessor;<br /> string controller = contextAccessor.ActionContext.RouteData.Values["controller"].ToString();<br /><br />With RC2 this will be easy<br />HttpContextAccessor.HttpContext.GetRouteValue("controller")<br /><br />Please keep in mind that you may not be able to access the controller name in the Middleware as RouteData is populated at the end<br />Prasanna Kumar Pattamhttps://www.blogger.com/profile/05306189308152061408noreply@blogger.comtag:blogger.com,1999:blog-9014730285386259823.post-3238725730947348872016-01-19T23:00:17.102+05:302016-01-19T23:00:17.102+05:30Great Article!
Do you know how to get the Control...Great Article!<br /><br />Do you know how to get the Controller and Action name from a HttpContextAccessor instance?<br /><br />Thanks a lot.<br /><br />Elvis de Limahttps://www.blogger.com/profile/03922778110876651201noreply@blogger.comtag:blogger.com,1999:blog-9014730285386259823.post-51383865703657796222015-09-25T19:38:24.778+05:302015-09-25T19:38:24.778+05:30What is the issue you are facing while accessing t...What is the issue you are facing while accessing the HttpContext in your class.<br /><br />Here is the code that is working for me:<br />HttpHelper, a singleton class that keeps reference of the current context<br />https://github.com/Nootus/MegaMine/blob/master/MegaMine/src/eMine/Lib/Shared/HttpHelper.cs<br /><br />Startup.cs file where we setup the HttpHelper (last line in this class)<br />https://github.com/Nootus/MegaMine/blob/master/MegaMine/src/eMine/Startup.cs<br /><br />Here I am assessing the HttpContext using HttpHelper<br />https://github.com/Nootus/MegaMine/blob/master/MegaMine/src/eMine/Lib/Shared/Profile.cs<br />Prasanna Kumar Pattamhttps://www.blogger.com/profile/05306189308152061408noreply@blogger.com