Servislerimizdeki bütün methodlar async Task dönse mi?

25 views
Skip to first unread message

Serdar B.

unread,
Apr 9, 2013, 2:07:41 AM4/9/13
to altdotnetturkiye
selamlar,

içimden bir ses servislerdeki tüm methodlar Task dönsün async olsun derken
öbürü de bunun bir yan etkisi olur mu acaba diye düşünüyo?

siz ne düşünüyosunuz?


Serdar
--
serdarb.com

Süleyman PETEK

unread,
Apr 9, 2013, 6:06:32 AM4/9/13
to altdotne...@googlegroups.com
Kedidir o kedi
--
You received this message because you are subscribed to the Google Groups "altdotnetturkiye" group.
To unsubscribe from this group and stop receiving emails from it, send an email to altdotnetturki...@googlegroups.com.
To post to this group, send email to altdotne...@googlegroups.com.
Visit this group at http://groups.google.com/group/altdotnetturkiye?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Sidar Ok

unread,
Apr 9, 2013, 7:10:05 PM4/9/13
to altdotne...@googlegroups.com
Neden?


--
You received this message because you are subscribed to the Google Groups "altdotnetturkiye" group.
To unsubscribe from this group and stop receiving emails from it, send an email to altdotnetturki...@googlegroups.com.
To post to this group, send email to altdotne...@googlegroups.com.
Visit this group at http://groups.google.com/group/altdotnetturkiye?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Serdar B.

unread,
Apr 10, 2013, 1:50:04 AM4/10/13
to altdotnetturkiye
bir kabul yapsam 
tüm methodları o şekilde yapsam
bazı işlem süresi uzun methodların blocklamamasını sağlarım düşüncesi...
(mesela db'ye giden methodlar...)



Serdar
--
serdarb.com

ersan bilik

unread,
Apr 10, 2013, 3:04:50 AM4/10/13
to altdotne...@googlegroups.com
yanlis bir kabul olmamasi icin su garantiyi verebilmen lazim;

herhangi bir B isinin A isi ile iliskisi yoktur; bir baska deyisle B isi asla A isinden donen cevabi beklemeyecektir

Sidar Ok

unread,
Apr 10, 2013, 3:25:29 AM4/10/13
to altdotne...@googlegroups.com
Cok naive bi kabul olur :)

Serdar B.

unread,
Apr 10, 2013, 3:29:23 AM4/10/13
to altdotnetturkiye
aslında çoğu kez ilişki değiller... 
ama %100 olarak ilişki yok diyemiycem

bide kulağa garip de geliyor galiba...
birine bırakınca projeyi arkamdan sövmesinler 
böyle bir kabul yapmıyım :p



Serdar
--
serdarb.com

Sidar Ok

unread,
Apr 10, 2013, 3:54:37 AM4/10/13
to altdotne...@googlegroups.com
Bircok zaman bir i$in bitmesi icin beklemen gerek, butun senaryolar fire and forget olmaz.

parallelismi ayik kafayla ve sorumluca kullanalim lutfen :P :)


2013/4/10 Serdar B. <hser...@gmail.com>

Melih Öztürk

unread,
Apr 10, 2013, 4:03:31 AM4/10/13
to altdotne...@googlegroups.com

Kayitlarin Postresql deki async commit ile kaydedilmesi gibi dusunebiliriz.

10 Nis 2013 10:54 tarihinde "Sidar Ok" <sid...@gmail.com> yazdı:
Reply all
Reply to author
Forward
0 new messages