<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.dotnetzone.gr:443/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>.NET Framework</title><link>https://www.dotnetzone.gr:443/cs/forums/14/ShowForum.aspx</link><description>Θέματα για threading, remoting, reflection, exception handling, security, regex κλπ.</description><dc:language>el</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>Απ: Automated properties error: must declare a body because it is not marked abstract or extern</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/68185.aspx</link><pubDate>Thu, 17 Nov 2011 20:42:47 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:68185</guid><dc:creator>Παναγιώτης Καναβός</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/68185.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=14&amp;PostID=68185</wfw:commentRss><description>&lt;p&gt;Αν έχεις web.config δεν πρόκειται για web service αλλά για ένα web application ή web site το οποίο κάνει host ένα web service και ισχύει ό,τι για όλα τα web apps. 'Ο,τι γίνεται compile σε dll ελέγχεται από το Visual Studio. Ό,τι γίνεται compile κατά το runtime (code behind, aspx και ascx σελίδες), ελέγχεται από το web config. &lt;/p&gt;&lt;p&gt;Θα ήταν καλό να βγάλεις όλο τον κώδικα του web service από το asmx και να το βάλεις σε δικό του DLL και να κρατήσεις το ASMX μόνο ως stub που θα καλεί το dll. Έτσι θα αποφύγεις προβλήματα όπως το παραπάνω, θα έχεις καθαρότερο κώδικα και θα μπορείς να τεστάρεις το dll ανεξάρτητα από το web site.&lt;/p&gt;</description></item><item><title>Απ: Automated properties error: must declare a body because it is not marked abstract or extern</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/68180.aspx</link><pubDate>Thu, 17 Nov 2011 19:47:21 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:68180</guid><dc:creator>Markos</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/68180.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=14&amp;PostID=68180</wfw:commentRss><description>Ό,τι και να σου πω θα σε γελάσω... Είμαι πιστός οπαδός του old style coding για τα properties. Θέλω πάντα να έχω access στο field, για καλό και για κακό.&lt;br&gt;</description></item><item><title>Απ: Automated properties error: must declare a body because it is not marked abstract or extern</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/68179.aspx</link><pubDate>Thu, 17 Nov 2011 19:44:42 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:68179</guid><dc:creator>dimos.homatas</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/68179.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=14&amp;PostID=68179</wfw:commentRss><description>Πω πω... ευχαριστώ! Η σωστή επιλογή είναι η δεύτερη:&amp;nbsp;πρέπει να μπουν στο web.config options για τον compiler,&amp;nbsp;την πρώτη την είχα τσεκάρει.&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Επρόκειτο για ένα web service.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Εμ, που να πάει το μυαλό το έρμο... μου φαίνεται λίγο κουλό πάντως... δηλαδή η πληροφορία για τον υπάρχοντα compiler, που βρίσκεται;&lt;/div&gt;</description></item><item><title>Απ: Automated properties error: must declare a body because it is not marked abstract or extern</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/68178.aspx</link><pubDate>Thu, 17 Nov 2011 19:35:06 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:68178</guid><dc:creator>Markos</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/68178.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=14&amp;PostID=68178</wfw:commentRss><description>Μήπως υπάρχει property με logic, όπως &lt;a href="http://stackoverflow.com/questions/1121940/automatic-properties-in-c-sharp-3-must-declare-a-body-for-get-if-i-declare-one"&gt;εδώ&lt;/a&gt;; Είναι web project; Αν ναι, ρίξε κι &lt;a href="http://stackoverflow.com/questions/95683/net-property-generating-must-declare-a-body-because-it-is-not-marked-abstract"&gt;εδώ &lt;/a&gt;μια ματιά για τις αλλαγές στο web config. Αν τίποτα από αυτά δεν δουλεύει ή δεν ισχύουν στη δική σου περίπτωση, δώσε λίγα παραπάνω στοιχεία.&lt;br&gt;</description></item><item><title>Automated properties error: must declare a body because it is not marked abstract or extern</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/68177.aspx</link><pubDate>Thu, 17 Nov 2011 19:04:30 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:68177</guid><dc:creator>dimos.homatas</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/68177.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=14&amp;PostID=68177</wfw:commentRss><description>Καλημέρα σας,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;έχω ένα c# project. Περιέλαβα κάποια στιγμή κάτι properties για να τα μεταμορφώσω στην 'νέα' μορφή των automated properties (χωρίς το backing field) και έλαβα το σφάλμα που αναφέρεται στον τίτλο.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Έλεγχξα τις εκδόσεις των targeted frameworks, είναι όλα 3.5. Το τσέκαρα ακόμα και με edit στο sln. &amp;nbsp;Χρησιμοποιώ το VS 2008 στο συγκεκριμένο project. Ο κώδικας είναι απλούστατος, μία κλάση με κάποια λίγα properties.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Εννοείται ότι έχω κάνει ΤΑ clean &amp;amp; rebuild.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Μόλις τα έκανα απλές μεταβλητές, χτίζεται κανονικά.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Καμία άλλη σύσταση;δεν μπορώ να βρω κάτι σαφές στο δίκτυο.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Ευχαριστώ&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;</description></item></channel></rss>