List Info

Thread: medium trust principals and some fixes




medium trust principals and some fixes
user name
2007-07-12 04:20:09
Hi,
I had just uploaded website to hosting that uses medium
trust. I still
don't see results, i get errror. but i guess it works
because they
still use windows directory writes permisions.
So question is what about medium trust?

Next question is cool asp.net 2.0 feauters. Well. i wanned
to use
theme support, and i had put theme attribute to aspx file,
and i get
error that header doesn't use runat server.
Now, i think it would be nice to use feauters like master
pages and
themes support.
Before i was thinking.. well.. why are those php systems so
fast, and
people had been allways telling, that they are easy to use.
Dynamic
languages, have some cool feauters, and .net is really big.
This
approach is really fast and really cool. This is more like
PHP
on .net. But still it would be nice to keep some .net
feauters and to
keep easy extensibility.. well master pages and user
controls. System
could operate in 2 modes: one with support and one without.
I
personally don't like cms systems much, because they don't
give u full
control. So i rather like framework style. So, here i am
suggesting
more organic aproach because it can be done easly.
Or, ability to have use master, and then to have somethinng
like
core.Send(string sectionname).

Another issue is the ability to have undetermined number of
input
parameters. Like, now, u enter coworker data. So, in admin,
i can
enter only only properties i had set in xml file. Well, ok,
add
another type. Then i would be able to enter more data, and
new
properties. For example, imagine that u need to enter some
tabular
data, and that prices and data in table are pretty much
unpredictable.
XSLT can handle everything. XML can store any kind of data
structure,
so why not to use this ability. This would be the great
feauter.

lol
Vjeran


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "SharpCms" group.
To post to this group, send email to SharpCmsgooglegroups.com
To unsubscribe from this group, send email to
SharpCms-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/SharpCms?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: medium trust principals and some fixes
user name
2007-07-16 23:04:04
For medium trust issue you can search the information in old
posts.
I made little code to act this as regular aspx you just need
to add
XML control on default.aspx and plug in the code below to
Core.cs. You
could use master page and theme but only outside of xml
part.
If you need to use acsx controls then check this link
http://groups.google.com/group/Sha
rpCms/browse_thread/thread/bc2436b49cfd16b6/
, may be that is better way than XML control (I mean
LiteralControl).
For XML editing stuff I think you need to add standard aspx
pages into
the project.

private static void Parse(HttpResponse response, Process
process, Xml
xmlCtl)
{
     xmlCtl.XPathNavigator =
process.XmlData.CreateNavigator();
     xmlCtl.TransformSource = process.mainTemplate;
}


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "SharpCms" group.
To post to this group, send email to SharpCmsgooglegroups.com
To unsubscribe from this group, send email to
SharpCms-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/SharpCms?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )